missing return after forceClose

This commit is contained in:
Herbert Vojcik 2010-03-31 16:59:09 +02:00 committed by Ryan Dahl
parent 9e97e185ad
commit da16128bf6

View File

@ -610,6 +610,7 @@ function doConnect (socket, port, host) {
connect(socket.fd, port, host);
} catch (e) {
socket.forceClose(e);
return;
}
// Don't start the read watcher until connection is established