Skip to content

Revert "net: enable autoSelectFamily by default"

This reverts commit 8b51c1a8.

I think we were too eager to turn this on. In the Fastify community, we have been trying to get our tests to pass on Node v20 for a month and a half with minimal luck. The only solution was to use NODE_OPTIONS=no-network-family-autoselection.

Note that tests spuriously fail even with v20.3.0, so the fixes are not complete. I was not able to reproduce the problem individually. My 2 cents is that there is a race condition somewhere triggered by many open sockets in a short period of time.

Merge request reports

Loading