Search code examples
firefoxgoogle-chromewebsocketphpwebsocket

MozWebSocket not responding to handshake


Firefox 10 do not wont to accept (i realy don't know?) my handshake. Offcorse this is Mozilla then use MozWebSocket insteed of WebSocket. My server response header is:

                $reply = "HTTP/1.1 101 Switching Protocols\r\n" .
                        "Upgrade: websocket\r\n" .
                        "Connection: Upgrade\r\n" .
                        "Sec-WebSocket-Accept: {$accept}\r\n\r\n";

It works under Chrome 16 perfect, but on Firefox it just waiting for something even if servers says than handshake is done. Then after some time offcorse client goes to status 3 (DISCONNECT).

Any ideas?


Solution

  • I just realized that it is my Firefox (?) fould. I uninstalled FF, deleted whole private data (seriously everything!) and I have installed FF one more time... And the same problem! So I don't know if it is my Windows problem or sth... Never mind... thanks for everything.