igrigorik/em-websocket — Issue #69: incompatibility with jWebSocket library? (CRLFs)
Author: ql
Created: 2011-11-18 09:06:30+00:00
State: open

Hello!

I am having a problem connecting to my em-websocket server with http://jwebsocket.org/ library: chrome javascript client can connect to server, java client cannot.

I have found out that problem is in the CRLF at the end of handshake: jWebSocket sends one and Chrome 15 sends two: https://gist.github.com/1375956

What the WebSocket protocol says on this topic?

Also, any ideas on fixing this would be appreciated!