X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http.c;h=8ac8eb6c38e21bdb347f59ec41162270ebe82c04;hb=d90b16ed421eb51fc4d7c6bda5f3332cc2e3aece;hp=0ffd79cd81ba3e722dcdbf4c20469fa551ce9d80;hpb=8c18a6f3fa0b1be98896a6c55c9e56595fbd3f41;p=git.git diff --git a/http.c b/http.c index 0ffd79cd8..8ac8eb6c3 100644 --- a/http.c +++ b/http.c @@ -295,8 +295,10 @@ static CURL *get_curl_handle(void) if (curl_ftp_no_epsv) curl_easy_setopt(result, CURLOPT_FTP_USE_EPSV, 0); - if (curl_http_proxy) + if (curl_http_proxy) { curl_easy_setopt(result, CURLOPT_PROXY, curl_http_proxy); + curl_easy_setopt(result, CURLOPT_PROXYAUTH, CURLAUTH_ANY); + } return result; }