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

#59 get no_proxy in from reqwest #122

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

zoosky
Copy link

@zoosky zoosky commented Nov 26, 2021

Reqwest 0.10.10 has system proxy / no_proxy support included.

@zoosky
Copy link
Author

zoosky commented Nov 29, 2021

no_proxy support is often a requirement in corporate use cases.

@fcsonline
Copy link
Owner

It is good to have dependencies up to date but I don't understand this change. no_proxy is supported in the current version.

https://docs.rs/reqwest/0.10.4/reqwest/struct.ClientBuilder.html#method.no_proxy

Why this change?

@zoosky
Copy link
Author

zoosky commented Dec 2, 2021

I tested it with Reqwest 0.10.4 with no success. Then I patched drill to use Reqwest 0.10.10, and it worked as expected. See also

## v0.10.7

- Add `NO_PROXY` environment variable support.

seanmonstar/reqwest@v0.10.4...0.10.x

@zoosky
Copy link
Author

zoosky commented Jul 1, 2022

If you opt in for upgrading reqwest 0.10.10, the NO_PROXY issue is solved and a NO_PROXY setting in the env is supported.

@zoosky
Copy link
Author

zoosky commented Nov 18, 2022

Why this change?
no_proxy setting only worked with this change according to my tests behind corp proxy.

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.

None yet

2 participants