Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.12.0
-
None
Description
connect_timeout and timeout options passed to createConnection are ignored during first connection attempt.
Checking the source code, connect_timeout seems to be used only during reconnection retries, while timeout is applied to underlying socket only after the connect event.
Probably it whould be better to pass the connection timeout directy to the net.createConnection call.
Attachments
Issue Links
- links to