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:
Guillermo Rauch
2011-05-22 14:28:41 -07:00
parent b76901eb56
commit f020d012f2

View File

@@ -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;