mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
Fixed; Make sure to not execute any other connection operations after WebSocket write error
This commit is contained in:
@@ -80,6 +80,7 @@ WebSocket.prototype._onConnect = function(req, socket){
|
||||
this.connection.write(headers.concat('', '').join('\r\n'));
|
||||
} catch(e){
|
||||
this._onClose();
|
||||
return;
|
||||
}
|
||||
|
||||
this.connection.setTimeout(0);
|
||||
|
||||
Reference in New Issue
Block a user