Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Nov 30, 2010
1 parent 285af55 commit c77477c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/net.js
Expand Up @@ -61,6 +61,8 @@ IOWatcher.prototype.ondrain = function () {
require('timers').active(this.socket);
this.socket.emit('drain');
}

if (this.writable && this.socket._eof) this.socket._shutdown();
};


Expand Down

0 comments on commit c77477c

Please sign in to comment.