@@ -871,7 +871,7 @@ behavior.
871
871
added: v0.1.90
872
872
changes:
873
873
- version: REPLACEME
874
- pr-url: REPLACEME
874
+ pr-url: https://github.com/nodejs/node/pull/46790
875
875
description: The default value for the autoSelectFamily option is now true.
876
876
The `--enable-network-family-autoselection` has been renamed
877
877
to `--network-family-autoselection`. The old name is now an
@@ -943,11 +943,11 @@ For TCP connections, available `options` are:
943
943
Ignored if the ` family ` option is not ` 0 ` or if ` localAddress ` is set.
944
944
Connection errors are not emitted if at least one connection succeeds.
945
945
If all connections attempts fails a single ` AggregateError ` with all failed attempts is emitted.
946
- ** Default:** \ [` net.getDefaultAutoSelectFamily() ` ] \ []
946
+ ** Default:** [ ` net.getDefaultAutoSelectFamily() ` ] [ ]
947
947
* ` autoSelectFamilyAttemptTimeout ` {number}: The amount of time in milliseconds to wait
948
948
for a connection attempt to finish before trying the next address when using the ` autoSelectFamily ` option.
949
949
If set to a positive integer less than ` 10 ` , then the value ` 10 ` will be used instead.
950
- ** Default:** \ [` net.getDefaultAutoSelectFamilyAttemptTimeout() ` ] \ []
950
+ ** Default:** [ ` net.getDefaultAutoSelectFamilyAttemptTimeout() ` ] [ ]
951
951
952
952
For [ IPC] [ ] connections, available ` options ` are:
953
953
@@ -1756,6 +1756,8 @@ net.isIPv6('fhqwhgads'); // returns false
1756
1756
[ `net.createConnection(path)` ] : #netcreateconnectionpath-connectlistener
1757
1757
[ `net.createConnection(port, host)` ] : #netcreateconnectionport-host-connectlistener
1758
1758
[ `net.createServer()` ] : #netcreateserveroptions-connectionlistener
1759
+ [ `net.getDefaultAutoSelectFamily()` ] : #netgetdefaultautoselectfamily
1760
+ [ `net.getDefaultAutoSelectFamilyAttemptTimeout()` ] : #netgetdefaultautoselectfamilyattempttimeout
1759
1761
[ `new net.Socket(options)` ] : #new-netsocketoptions
1760
1762
[ `readable.setEncoding()` ] : stream.md#readablesetencodingencoding
1761
1763
[ `server.close()` ] : #serverclosecallback
0 commit comments