From 2efd7979b78bce5624d800b18a80acd9f9b804e4 Mon Sep 17 00:00:00 2001 From: Paolo Insogna Date: Thu, 8 Dec 2022 12:06:48 +0100 Subject: [PATCH] http: add --enable-network-family-autoselection command line option --- doc/api/cli.md | 10 ++ doc/api/net.md | 6 +- lib/net.js | 3 +- src/node_options.cc | 4 + src/node_options.h | 1 + ...net-autoselectfamily-commandline-option.js | 108 ++++++++++++++++++ 6 files changed, 129 insertions(+), 3 deletions(-) create mode 100644 test/parallel/test-net-autoselectfamily-commandline-option.js diff --git a/doc/api/cli.md b/doc/api/cli.md index c09066a29a1dec..23b5f0eecd5e25 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -314,6 +314,15 @@ added: v6.0.0 Enable FIPS-compliant crypto at startup. (Requires Node.js to be built against FIPS-compatible OpenSSL.) +### `--enable-network-family-autoselection` + + + +Enables the family autoselection algorithm unless connection options explicitly +disables it. + ### `--enable-source-maps`