Browse Source

missing return after forceClose

v0.7.4-release
Herbert Vojcik 15 years ago
committed by Ryan Dahl
parent
commit
da16128bf6
  1. 1
      lib/net.js

1
lib/net.js

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

Loading…
Cancel
Save