mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
Bugfix: net.js flushing, _doFlush typo
This commit is contained in:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user