Extendible-Web-Socket-Server icon indicating copy to clipboard operation
Extendible-Web-Socket-Server copied to clipboard

Status line contains embedded null

Open HardlyMirage opened this issue 14 years ago • 0 comments

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

// 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.

HardlyMirage avatar Jun 12 '11 23:06 HardlyMirage