diff options
author | rofl0r <retnyg@gmx.net> | 2018-11-20 16:07:52 +0000 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2018-12-10 19:05:03 +0000 |
commit | 7562c073291a4c542e2be82cc5aa332031ee4b29 (patch) | |
tree | 8e771a7e5076ca6d9db1ca91e19b518d9ef20edb /scripts | |
parent | 04f68e21e76047ed8a0747016d7f6f03e070fc59 (diff) |
use CONNECT method if request contains upgrade header
this should allow using websockets or other upgraded connections
on a standard (non-encrypted) proxified HTTP connection.
testcase:
$ telnet localhost 8888
GET / HTTP/1.1
Host: echo.websocket.org:80
Upgrade: websocket
Connection: Upgrade
Origin: http://echo.websocket.org
Sec-WebSocket-Key: 5KNqfsPZ9m/BbeRlVpf7MQ==
Sec-WebSocket-Version: 13
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions