Closed neonnoon closed 11 months ago
What
This introduces an option to disable the functionality introduced in https://github.com/tomas/needle/pull/382 and addresses https://github.com/tomas/needle/issues/406. It keeps the default behaviour, but allows opting out of needle picking up proxy configuration from environment variables.
Why
Automatic use of environment variables for proxy configuration causes issues if the http agent should be extended with specific proxy features, for example, when using https://github.com/gajus/global-agent.
@tomas , do you mind having a look at this PR?
Thanks @neonnoon!
Thanks for merging @tomas ! Any chance you can trigger a new release with this fix?
I already did! v3.3.0 is up since friday!
What
This introduces an option to disable the functionality introduced in https://github.com/tomas/needle/pull/382 and addresses https://github.com/tomas/needle/issues/406. It keeps the default behaviour, but allows opting out of needle picking up proxy configuration from environment variables.
Why
Automatic use of environment variables for proxy configuration causes issues if the http agent should be extended with specific proxy features, for example, when using https://github.com/gajus/global-agent.