Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 nodejs#1202.
- Loading branch information