Skip to content

Commit

Permalink
Fix spooky bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Nov 1, 2010
1 parent 107806b commit 054e818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/socket.io/transports/websocket.js
Expand Up @@ -98,8 +98,8 @@ WebSocket.prototype._proveReception = function(headers){
if (spaces === 0 || n % spaces !== 0){
if (this.listener && this.listener.options){
this.listener.options.log('Invalid WebSocket key: "' + k + '". Dropping connection');
this._onClose();
}
this._onClose();
return false;
}

Expand Down

0 comments on commit 054e818

Please sign in to comment.