mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
Make sure the socket is considered drained when re-set, specially if a socket is
closed before its drain event fires.
This commit is contained in:
@@ -72,6 +72,7 @@ Transport.prototype.handleRequest = function (req) {
|
||||
if (req.method == 'GET') {
|
||||
this.socket = req.socket;
|
||||
this.open = true;
|
||||
this.drained = true;
|
||||
|
||||
var self = this;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user