• Stefy Lanza (nextime / spora )'s avatar
    Fix VNC WebSocket 'Invalid frame header' error · 72788b3f
    Stefy Lanza (nextime / spora ) authored
    - Remove WebSocket-level chunking of VNC data (breaks streaming protocol)
    - Send VNC data as complete WebSocket frames instead of chunks
    - Enhance SSL error handling with better retry logic and exponential backoff
    - Make VNC handler resilient to temporary SSL buffer issues
    - Add comprehensive debug logging for WebSocket frame transmission
    - Add client-side debug logging for VNC rectangle processing
    
    Root cause: WebSocket chunking interrupted VNC TightDecoder which expects
    complete compressed data blocks. Client accumulated partial data until
    connection reset with ECONNRESET.
    72788b3f
websocket_protocol.h 2.69 KB