Commit 38a3a371 by Edward Thomson

winhttp: use new http-style url parser for proxies

parent 00c62ab0
...@@ -443,7 +443,7 @@ static int winhttp_stream_connect(winhttp_stream *s) ...@@ -443,7 +443,7 @@ static int winhttp_stream_connect(winhttp_stream *s)
git_net_url_dispose(&t->proxy.url); git_net_url_dispose(&t->proxy.url);
if ((error = git_net_url_parse(&t->proxy.url, proxy_url)) < 0) if ((error = git_net_url_parse_http(&t->proxy.url, proxy_url)) < 0)
goto on_error; goto on_error;
if (!git_net_url_valid(&t->proxy.url)) { if (!git_net_url_valid(&t->proxy.url)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment