Commit ee3d35cf by Edward Thomson

http: support https for proxies

parent 3d11b6c5
...@@ -701,15 +701,8 @@ static int load_proxy_config(http_subtransport *t) ...@@ -701,15 +701,8 @@ static int load_proxy_config(http_subtransport *t)
} }
git_net_url_dispose(&t->proxy.url); git_net_url_dispose(&t->proxy.url);
if ((error = git_net_url_parse(&t->proxy.url, t->proxy_opts.url)) < 0)
return error;
if (!strcmp(t->proxy.url.scheme, "https")) { return git_net_url_parse(&t->proxy.url, t->proxy_opts.url);
git_error_set(GIT_ERROR_NET, "SSL connections to proxy are not supported");
return -1;
}
return error;
} }
static int check_certificate( static int check_certificate(
......
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