supraja sridhar
2018-03-16 10:23:18 UTC
Hi,
Is there a way to force curl to automatically close the connection on the
client side for servers that refuse to do it? The Connection: Close header
isn't helping because I am trying to send a upgrade request for Websocket
to the server.
Command:
curl --resolve www.websocket.org:80:100.72.4.92 -vv -H "pragma:
http-akamai-debug" -H "pragma: http-akamai-optimization-debug" -S -o
/dev/null -sD /root/curl.txt http://www.websocket.org/ -H "Connection:
Upgrade" -H "Upgrade: websocket" -H "Host: echo.websocket.org" -H
"Sec-WebSocket-Version: 13" -H "Sec-WebSocket-Key: +onQ3ZxjWlkNa0na6ydhNg=="
Thanks,
Supraja
Is there a way to force curl to automatically close the connection on the
client side for servers that refuse to do it? The Connection: Close header
isn't helping because I am trying to send a upgrade request for Websocket
to the server.
Command:
curl --resolve www.websocket.org:80:100.72.4.92 -vv -H "pragma:
http-akamai-debug" -H "pragma: http-akamai-optimization-debug" -S -o
/dev/null -sD /root/curl.txt http://www.websocket.org/ -H "Connection:
Upgrade" -H "Upgrade: websocket" -H "Host: echo.websocket.org" -H
"Sec-WebSocket-Version: 13" -H "Sec-WebSocket-Key: +onQ3ZxjWlkNa0na6ydhNg=="
Thanks,
Supraja