net: defer DNS lookup error events to next tick
net.createConnection() creates a net.Socket object and immediately calls net.Socket.connect() on it. There are no event listeners registered yet so defer the error event to the next tick. Fixes #1202.
parent
e00c2ec5
Please register or sign in to comment