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

The web_proxy doesn't work when set proxy with uri #1781

Open
ceasor opened this issue Nov 24, 2023 · 0 comments
Open

The web_proxy doesn't work when set proxy with uri #1781

ceasor opened this issue Nov 24, 2023 · 0 comments

Comments

@ceasor
Copy link

ceasor commented Nov 24, 2023

http_client_winhttp::send_request only handle the case when proxy.is_auto_discovery() return true.
image
So when we construct a web_proxy with uri, it will only set the proxy mode as user_provided_.
image
So send_request will ignore the proxy setting when we use uri to construct a web_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

No branches or pull requests

1 participant