Skip to content

Conversation

ceasor
Copy link

@ceasor ceasor commented Nov 23, 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.

My modification tries to fix the problem.

@ceasor
Copy link
Author

ceasor commented Nov 23, 2023

@microsoft-github-policy-service agree

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

Labels

None yet

1 participant