em-websocket icon indicating copy to clipboard operation
em-websocket copied to clipboard

Defer nonce confirmation till socket is upgraded

Open SamSaffron opened this issue 13 years ago • 1 comments

HAProxy messes up the upgrade process for draft 76, see: https://github.com/learnboost/socket.io/commit/9982232032771574ceb68e2bccee4e43fd5af887#diff-0

I noticed this cause it just broke some of my tests, for this to work behind haproxy in http mode we should return the 101 right away and then wait for nonce.

SamSaffron avatar Aug 29 '12 01:08 SamSaffron

You can see my elaborate workaround here: https://github.com/SamSaffron/thin-em-websocket/commit/9f5538f68a568488372fe44d7e5df5a80e738219

SamSaffron avatar Aug 29 '12 05:08 SamSaffron