• Stefy Lanza (nextime / spora )'s avatar
    Fix multiple wsssh issues: framing protocol, performance, transfer limits, and graceful shutdown · f45cfbe7
    Stefy Lanza (nextime / spora ) authored
    - Fix WebSocket framing protocol issues with dynamic buffer allocation
    - Remove 255KB transfer limit by using heap allocation for large data
    - Optimize performance with 64KB chunking and faster reconnection (1s)
    - Add SIGINT handling for graceful tunnel closure with error messages
    - Improve WebSocket reconnection handling and tunnel state management
    - Treat close frames as tunnel closures to maintain WebSocket connections
    - Add proper memory cleanup and buffer overflow prevention
    - Reduce reconnection intervals for better responsiveness
    f45cfbe7
wsscp.c 41.8 KB