I came across this code change in Chromium . He says that Chromium now supports both handshake versions, which seem to confirm the code. I mean the second version of Wikipedia (draft-ietf-hybi-thewebsocketprotocol-06).
However, when I connect to my server, the only thing I get is the old version, i.e. including these headers:
Sec-WebSocket-Key1: 4 @1 46546xW%0l 1 5 Sec-WebSocket-Key2: 12998 5 Y3 1 .P00
but not a new version, which would be a request containing:
Sec-WebSocket-Key: x3JJHMbDL1EzLkh9GBhXDw==
What am I missing here? I downloaded the latest nightly build, and it was turned on more than two weeks ago, so that might not be the reason, I think.
How can I make WebSocket send a new acknowledgment version?
source share