WebSockets ws: Invalid fragmented message without initial frame Debug ws http lib2700 ws://%HOSTIP:%HTTPPORT/%TESTNUMBER CURL_WS_FORCE_ZERO_MASK=1 upgrade # Full list of frames: see below # First a valid BINARY frame # Second a fragmented message with the first frame missing HTTP/1.1 101 Switching to WebSockets Server: server/%TESTNUMBER Upgrade: Websocket Connection: Upgrade Sec-WebSocket-Accept: HkPsVga7+8LuxM4RGQ5p9tZHeYs= %hex[%82%01b]hex%%hex[%00%02m2]hex%%hex[%80%02m3]hex% # Echo of reply data with additional masking up to the missing initial frame %hex[%82%81%00%00%00%00b]hex% # Only frames up to the missing initial frame bin fin [1] b # CURLE_RECV_ERROR 56 # Strip HTTP header from ^GET /.* ^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .* ^\s*$