• Stefy Lanza (nextime / spora )'s avatar
    Adjust WebSocket payload limits back to 50MB · 191acd82
    Stefy Lanza (nextime / spora ) authored
    - Set payload limits to 50MB for both client and server
    - Maintains protection against memory exhaustion attacks
    - Large files still work through SCP chunking mechanism
    - 50MB limit provides good balance of security and functionality
    
    Individual WebSocket frames limited to 50MB:
    - Protects against DoS attacks with oversized frames
    - Large files transferred as multiple smaller chunks
    - Total file size remains unlimited
    191acd82
threads.c 24.3 KB