Closed gimite closed 12 years ago
http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-17#section-5.1
A client MUST close a connection if it detects a masked frame.
Related: #102
In WebSocket.as line 491, add: if (buffer[1]>127) { dispatchCloseEvent(false, 1002, "Server must not mask."); return null; }
Thanks. Pulled at https://github.com/gimite/web-socket-js/commit/14023075bfa7350a3a2268cb6d7e38e046b24bcf
http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-17#section-5.1
Related: #102