Skip to content

Commit 863bdb7

Browse files
ShogunPandaruyadorno
authored andcommitted
net: add autoSelectFamily global getter and setter
PR-URL: #45777 Backport-PR-URL: #49016 Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
1 parent e7d2e8e commit 863bdb7

12 files changed

Lines changed: 355 additions & 9 deletions

doc/api/cli.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,15 @@ added: v6.0.0
314314
Enable FIPS-compliant crypto at startup. (Requires Node.js to be built
315315
against FIPS-compatible OpenSSL.)
316316

317+
### `--enable-network-family-autoselection`
318+
319+
<!-- YAML
320+
added: REPLACEME
321+
-->
322+
323+
Enables the family autoselection algorithm unless connection options explicitly
324+
disables it.
325+
317326
### `--enable-source-maps`
318327

319328
<!-- YAML
@@ -1861,6 +1870,7 @@ Node.js options that are allowed are:
18611870
* `--disable-proto`
18621871
* `--dns-result-order`
18631872
* `--enable-fips`
1873+
* `--enable-network-family-autoselection`
18641874
* `--enable-source-maps`
18651875
* `--experimental-abortcontroller`
18661876
* `--experimental-global-customevent`