You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tested this with v2.7.0 and v2.1.0 (with vc12 and vc14 on win10 and server2012), on about 20 proxy machines I know are good. I though it had worked with some old cpprest version but probably not. (I know the proxies are fine as I use them fine through libcurl).
Minimal example: I get the error "web::uri_exception: provided uri is invalid":
Ok, looking into this issue it seems like we have a parser bug. Fortunately, there's a simple workaround: specify the protocol (http I assume) in the URI: web::http::client::web_proxy wp2(L"http://123.123.123.123:1234"); //OK
It will also work with simply prepending a double slash: web::http::client::web_proxy wp2(L"//123.123.123.123:1234"); //OK
I tested this with v2.7.0 and v2.1.0 (with vc12 and vc14 on win10 and server2012), on about 20 proxy machines I know are good. I though it had worked with some old cpprest version but probably not. (I know the proxies are fine as I use them fine through libcurl).
Minimal example: I get the error "web::uri_exception: provided uri is invalid":
The text was updated successfully, but these errors were encountered: