// The caller isn't prepared to deal with null bytes in status
// line. WebSockets specification doesn't prohibit this, but HTTP
// does, so we'll just treat this as an error.
I tried changing the null character in the WSHelper::wrap function to something else, but I am unable to reconnect because of all the handshake fails.
In Chrome 12, I tried setting up the example, when doing a
sendToAll
, I get the following error on the front-end:Status line contains embedded null
A quick google search yields this on a java websocket implementation - Line 443
I tried changing the null character in the
WSHelper::wrap
function to something else, but I am unable to reconnect because of all the handshake fails.