windows: fix dns lookup of localhost with ipv6
authorAlexis Campailla <alexis@janeasystems.com>
Wed, 18 Dec 2013 18:08:33 +0000 (10:08 -0800)
committerFedor Indutny <fedor.indutny@gmail.com>
Thu, 19 Dec 2013 08:44:50 +0000 (12:44 +0400)
commit9be6470b534a9da0c93878fa87e6f9574a57acaf
treee558eca31ecc30f4b8d017af126680e4c1fbb00a
parentcdc038ceb60cbdd14e98b69e5afc0671ff07c6fc
windows: fix dns lookup of localhost with ipv6

Removing a hack intended to shortcut the resolution of 'localhost'
but which doesn't work for ipv6.
This was introduced in 2876141c4292791bc12c0b8701dbcc366dde7297.
However it seems that the problems that this was trying to
circumvent has gone away ages ago, when dns resolution on
Windows started relying on Win32 GetAddrInfoW, which was
probably with be2320d408de89054b254a0c812280054d946490.

Fixes test-net-connect-options-ipv6.js on Windows.
lib/dns.js