cpprestsdk icon indicating copy to clipboard operation
cpprestsdk copied to clipboard

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

Open ceasor opened this issue 2 years ago • 1 comments

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 avatar Nov 23 '23 19:11 ceasor

@microsoft-github-policy-service agree

ceasor avatar Nov 23 '23 19:11 ceasor