mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 10:38:21 +04:00
Notable Changes: *Ada 2.0 Node.js v18.17.0 comes with the latest version of the URL parser, Ada. This update brings significant performance improvements to URL parsing, including enhancements to the url.domainToASCII and url.domainToUnicode functions in node:url. *Web Crypto API Web Crypto API functions' arguments are now coerced and validated as per their WebIDL definitions like in other Web Crypto API implementations. This further improves interoperability with other implementations of Web Crypto API. Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
30 lines
948 B
Diff
30 lines
948 B
Diff
Description: do not use dns.ADDRCONFIG for localhost
|
|
it fails on IPv6-only systems. Setting it with libc fails on linux.
|
|
https://github.com/nodejs/node/issues/33279
|
|
Author: Jérémy Lal <kapouer@melix.org>
|
|
Last-Update: 2020-06-11
|
|
Bug-Debian: https://bugs.debian.org/962318
|
|
Forwarded: https://github.com/nodejs/node/issues/33816
|
|
--- a/lib/net.js
|
|
+++ b/lib/net.js
|
|
@@ -1,4 +1,5 @@
|
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
+
|
|
//
|
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
// copy of this software and associated documentation files (the
|
|
@@ -1266,13 +1267,6 @@ function lookupAndConnect(self, options)
|
|
hints: options.hints || 0,
|
|
};
|
|
|
|
- if (!isWindows &&
|
|
- dnsopts.family !== 4 &&
|
|
- dnsopts.family !== 6 &&
|
|
- dnsopts.hints === 0) {
|
|
- dnsopts.hints = dns.ADDRCONFIG;
|
|
- }
|
|
-
|
|
debug('connect: find host', host);
|
|
debug('connect: dns options', dnsopts);
|
|
self._host = host;
|