File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -3012,6 +3012,7 @@ environment variables during startup, and tunnels requests over the
30123012specified proxy.
30133013
30143014This is equivalent to setting the [ ` NODE_USE_ENV_PROXY=1 ` ] [ ] environment variable.
3015+ When both are set, ` --use-env-proxy ` or ` --no-use-env-proxy ` takes precedence.
30153016
30163017### ` --use-largepages=mode `
30173018
@@ -3669,9 +3670,7 @@ environment variables during startup, and tunnels requests over the
36693670specified proxy.
36703671
36713672This can also be enabled using the [ ` --use-env-proxy ` ] [ ] command-line flag.
3672-
3673- This currently only affects requests sent over ` fetch() ` . Support for other
3674- built-in ` http ` and ` https ` methods is under way.
3673+ When both are set, ` --use-env-proxy ` or ` --no-use-env-proxy ` takes precedence.
36753674
36763675### ` NODE_V8_COVERAGE=dir `
36773676
Original file line number Diff line number Diff line change @@ -181,9 +181,9 @@ function setupHttpProxy() {
181181 // For fetch, we need to set the global dispatcher from here.
182182 // For http/https agents, we'll configure the global agent when they are
183183 // actually created, in lib/_http_agent.js and lib/https.js.
184- // TODO(joyeecheung): This is currently guarded with NODE_USE_ENV_PROXY. Investigate whether
185- // it's possible to enable it by default without stepping on other existing libraries that
186- // sets the global dispatcher or monkey patches the global agent.
184+ // TODO(joyeecheung): This is currently guarded with NODE_USE_ENV_PROXY and --use-env-proxy.
185+ // Investigate whether it's possible to enable it by default without stepping on other
186+ // existing libraries that sets the global dispatcher or monkey patches the global agent.
187187}
188188
189189function setupUserModules ( forceDefaultLoader = false ) {
You can’t perform that action at this time.
0 commit comments