Skip to content

Instantly share code, notes, and snippets.

@taf2
Created December 5, 2010 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taf2/729332 to your computer and use it in GitHub Desktop.
Save taf2/729332 to your computer and use it in GitHub Desktop.
when receiving direct from browser nonce is present - but it is not present when behind haproxy
GET / HTTP/1.1
Upgrade: WebSocket
Connection: Upgrade
Host: 127.0.0.1:4012
Origin: http://127.0.0.1:9000
Sec-WebSocket-Key1: g 1488 0 4 9;4l43
Sec-WebSocket-Key2: 34@ c1J 0=t0l c F96 v8 56e
\xBA\xA1\x1A\xEF\xE1^\x88c
GET / HTTP/1.1
Upgrade: WebSocket
Connection: Upgrade
Host: 127.0.0.1:4012
Origin: http://127.0.0.1:9000
Sec-WebSocket-Key1: g 1488 0 4 9;4l43
Sec-WebSocket-Key2: 34@ c1J 0=t0l c F96 v8 56e
\xBA\xA1\x1A\xEF\xE1^\x88c
GET / HTTP/1.1
Upgrade: WebSocket
Connection: Upgrade
Host: 127.0.0.1:8888
Origin: http://127.0.0.1:9000
Sec-WebSocket-Key1: 157} 2\\ 7\\53m3XR 3i 0A *&
Sec-WebSocket-Key2: 723 1T18 54 5
"
GET / HTTP/1.1
Upgrade: WebSocket
Connection: Upgrade
Host: 127.0.0.1:8888
Origin: http://127.0.0.1:9000
Sec-WebSocket-Key1: 157} 2\\ 7\\53m3XR 3i 0A *&
Sec-WebSocket-Key2: 723 1T18 54 5
"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment