-
-
Couldn't load subscription status.
- Fork 33.6k
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
Description
What is the problem this feature will solve?
autoSelectFamily is 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:
Starting a new connection attempt does not affect previous attempts, as multiple connection attempts may occur in parallel.
What alternatives have you considered?
Disabling autoSelectFamily and restoring the pre-20 behavior, see #47644 (comment).
silverwind, HinataKah0, mohitk05, gerkenv, StringManolo and 5 more
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
Projects
Status
Awaiting Triage