-
-
Notifications
You must be signed in to change notification settings - Fork 35.6k
Implement parallel Happy Eyeballs as described in RFC 8305Β #48145
Copy link
Copy link
Open
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.netIssues and PRs related to the net subsystem.Issues and PRs related to the net subsystem.never-staleMark issue so that it is never considered staleMark issue so that it is never considered stale
Metadata
Metadata
Assignees
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.netIssues and PRs related to the net subsystem.Issues and PRs related to the net subsystem.never-staleMark issue so that it is never considered staleMark issue so that it is never considered stale
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Awaiting Triage
What is the problem this feature will solve?
autoSelectFamilyis enabled by default in Node.js 20. However, it does not properly implement parallel connection attempts, which are an integral part of the Happy Eyeballs algorithm. This can cause timeouts to occur that did not occur in versions prior to Node.js 20. See, for example, this discussion.What is the feature you are proposing to solve the problem?
Implement the algorithm as described in Section 5 of RFC 8305:
What alternatives have you considered?
Disabling
autoSelectFamilyand restoring the pre-20 behavior, see #47644 (comment).