Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close and destroy sockets on connection error.
Add `sock.end` and `sock.destroy` calls for `sock.once('error', ...)` event handler and for `c.open(fields, ...)` callback - just like it was done for connection timeout callback. Resolves amqp-node#513
- Loading branch information