-
-
Notifications
You must be signed in to change notification settings - Fork 37.1k
Implement parallel Happy Eyeballs as described in RFC 8305 #48145
Copy link
Copy link
Open
Labels
feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.netIssues and PRs related to the net subsystem.Issues and PRs related to the net subsystem.never-staleIssues and PRs exempt from automated stale handling.Issues and PRs exempt from automated stale handling.
Description
Activity
Metadata
Metadata
Assignees
Labels
feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.netIssues and PRs related to the net subsystem.Issues and PRs related to the net subsystem.never-staleIssues and PRs exempt from automated stale handling.Issues and PRs exempt from automated stale handling.
Type
Projects
- StatusShow more project fieldsAwaiting 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).