net: destroy socket on DNS error
authorStefan Rusu <saltwaterc@gmail.com>
Fri, 3 Feb 2012 16:27:53 +0000 (18:27 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Fri, 3 Feb 2012 23:40:53 +0000 (00:40 +0100)
commit4671e54495a29696ae8e5f9bd17ba4c63f5d1b23
tree5aab7462346fa91dde4f3aa0a6a78da7afcef505
parent68db20656e99da5a179e7139e4f2c3ed9de34d1a
net: destroy socket on DNS error

The socket was never destroyed on DNS errors. This broke some clients, including
lib/https.js.
lib/net.js