mirror of
https://github.com/denoland/deno.git
synced 2025-01-05 13:59:01 -05:00
I think we don't need this workaround anymore as we try connecting both ::1 and 127.0.0.1
This commit is contained in:
parent
71cc419833
commit
be9946f331
1 changed files with 0 additions and 7 deletions
|
@ -107,13 +107,6 @@ export function getaddrinfo(
|
|||
});
|
||||
}
|
||||
|
||||
// TODO(@bartlomieju): Forces IPv4 as a workaround for Deno not
|
||||
// aligning with Node on implicit binding on Windows
|
||||
// REF: https://github.com/denoland/deno/issues/10762
|
||||
if (isWindows && hostname === "localhost") {
|
||||
addresses = addresses.filter((address) => isIPv4(address));
|
||||
}
|
||||
|
||||
req.oncomplete(error, addresses);
|
||||
})();
|
||||
|
||||
|
|
Loading…
Reference in a new issue