Commit 52478d7d by Edward Thomson

http: don't allow SSL connections to a proxy

Temporarily disallow SSL connections to a proxy until we can understand
the valgrind warnings when tunneling OpenSSL over OpenSSL.
parent 41f620d9
......@@ -695,7 +695,15 @@ static int load_proxy_config(http_subtransport *t)
return -1;
}
return gitno_connection_data_from_url(&t->proxy.url, t->proxy_opts.url, NULL);
if ((error = gitno_connection_data_from_url(&t->proxy.url, t->proxy_opts.url, NULL)) < 0)
return error;
if (t->proxy.url.use_ssl) {
giterr_set(GITERR_NET, "SSL connections to proxy are not supported");
return -1;
}
return error;
}
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