WebSockets
ws: Invalid masked server message
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 masking
HTTP/1.1 101 Switching to WebSockets
Server: server/%TESTNUMBER
Upgrade: Websocket
Connection: Upgrade
Sec-WebSocket-Accept: HkPsVga7+8LuxM4RGQ5p9tZHeYs=
%hex[%81%80%12%34%56%78]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*$