net: enable autoSelectFamily by default

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/46790
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
This commit is contained in:
Paolo InsognaandAntoine du Hamel authored and Rich Trott committed 2023-04-05 08:31:56 -07:00
1 parent 069365c5bd
commit 8b51c1a869
22 files changed
+147 -94

No files matched your search

+7
View File
@@ -2593,6 +2593,13 @@ An attempt was made to operate on an already closed socket.
When calling [`net.Socket.write()`][] on a connecting socket and the socket was
closed before the connection was established.
<a id="ERR_SOCKET_CONNECTION_TIMEOUT"></a>
### `ERR_SOCKET_CONNECTION_TIMEOUT`
The socket was unable to connect to any address returned by the DNS within the
allowed timeout when using the family autoselection algorithm.
<a id="ERR_SOCKET_DGRAM_IS_CONNECTED"></a>
### `ERR_SOCKET_DGRAM_IS_CONNECTED`