Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Must close connection on masked server->client frame #103

Closed
gimite opened this Issue · 2 comments

2 participants

@gimite
Owner

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

@ranc

In WebSocket.as line 491, add:
if (buffer[1]>127)
{
dispatchCloseEvent(false, 1002, "Server must not mask.");
return null;
}

@gimite
Owner

Thanks. Pulled at 1402307

@gimite gimite closed this
@iRubens iRubens referenced this issue in Olivine-Labs/Alchemy-Websockets
Closed

Masked Response Error - Using Web-Socket-Js #14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.