WebSockets ws: Invalid reserved bit RSV1 Debug ws http lib2700 ws://%HOSTIP:%HTTPPORT/%TESTNUMBER CURL_WS_FORCE_ZERO_MASK=1 upgrade # Full list of frames: see below # An empty frame with the RSV1 bit set HTTP/1.1 101 Switching to WebSockets Server: server/%TESTNUMBER Upgrade: Websocket Connection: Upgrade Sec-WebSocket-Accept: HkPsVga7+8LuxM4RGQ5p9tZHeYs= %hex[%C1%00]hex% # No frames # No frames # CURLE_RECV_ERROR 56 # Strip HTTP header from ^GET /.* ^(Host|User-Agent|Accept|Upgrade|Connection|Sec-WebSocket-(Version|Key)): .* ^\s*$