Skip to content
This repository was archived by the owner on Jun 1, 2026. It is now read-only.

fix issue: The web_proxy doesn't work when set proxy with uri - #1780

Open
ceasor wants to merge 1 commit into
microsoft:masterfrom
ceasor:master
Open

ceasor wants to merge 1 commit into
microsoft:masterfrom
ceasor:master

Conversation

@ceasor

@ceasor ceasor commented Nov 23, 2023 •

Copy link
Copy Markdown

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.

My modification tries to fix the problem.

@ceasor

ceasor commented Nov 23, 2023

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

1 participant