Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add option to disable use_proxy_from_env_var #427

Merged
merged 1 commit into from
Dec 8, 2023
Merged

feat: add option to disable use_proxy_from_env_var #427

merged 1 commit into from
Dec 8, 2023

Conversation

neonnoon
Copy link
Contributor

What

This introduces an option to disable the functionality introduced in #382 and addresses #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.

@neonnoon neonnoon marked this pull request as ready for review October 31, 2023 10:45
@neonnoon
Copy link
Contributor Author

neonnoon commented Dec 8, 2023

@tomas , do you mind having a look at this PR?

@tomas tomas merged commit 747522b into tomas:master Dec 8, 2023
@tomas
Copy link
Owner

tomas commented Dec 8, 2023

Thanks @neonnoon!

@neonnoon
Copy link
Contributor Author

Thanks for merging @tomas ! Any chance you can trigger a new release with this fix?

@tomas
Copy link
Owner

tomas commented Dec 11, 2023

I already did! v3.3.0 is up since friday!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants