Browse Source

Bugfix: net.js flushing, _doFlush typo

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
eac3dc9d5f
  1. 2
      lib/net.js

2
lib/net.js

@ -587,7 +587,7 @@ function doConnect (socket, port, host) {
socket.resume();
socket.readable = true;
socket.writable = true;
socket._writeWatcher.callback = socket._doFlush;
socket._writeWatcher.callback = _doFlush;
socket.emit('connect');
} else if (errno != EINPROGRESS) {
socket.forceClose(errnoException(errno, 'connect'));

Loading…
Cancel
Save