Merge branch 'js/http-https-proxy-fix'

We lost ability to use https:// proxies during this cycle; this is
a hotfix for the regression.

* js/http-https-proxy-fix:
  http: accept https:// proxies again
maint
Junio C Hamano 2026-06-28 15:18:24 -07:00
commit 1274757cf8
1 changed files with 2 additions and 0 deletions

2
http.c
View File

@ -819,6 +819,8 @@ static int set_curl_proxy_type(CURL *result, const char *protocol)
if (has_proxy_cert_password())
curl_easy_setopt(result, CURLOPT_PROXY_KEYPASSWD,
proxy_cert_auth.password);

return 0;
}

return -1;