microsoft / cpprestsdk

The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Other
7.89k stars 1.63k forks source link

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

Open ceasor opened 7 months ago

ceasor commented 7 months ago

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 userprovided. image So send_request will ignore the proxy setting when we use uri to construct a web_proxy.