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
8.02k
stars
1.66k
forks
source link
fix issue: The web_proxy doesn't work when set proxy with uri #1780
http_client_winhttp::send_request only handle the case when proxy.is_auto_discovery() return true.
So when we construct a web_proxy with uri, it will only set the proxy mode as userprovided.
So send_request will ignore the proxy setting when we use uri to construct a web_proxy.
http_client_winhttp::send_request only handle the case when proxy.is_auto_discovery() return true. So when we construct a web_proxy with uri, it will only set the proxy mode as userprovided. So send_request will ignore the proxy setting when we use uri to construct a web_proxy.
My modification tries to fix the problem.