Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'nl/http-proxy-auth'
author
Junio C Hamano
<gitster@pobox.com>
Tue, 6 Mar 2012 22:53:06 +0000
(14:53 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 6 Mar 2012 22:53:06 +0000
(14:53 -0800)
By Nelson Benitez Leon
* nl/http-proxy-auth:
http: support proxies that require authentication
http.c
patch
|
blob
|
history
raw
(from parent 1:
4ebed61
)
diff --git
a/http.c
b/http.c
index 0ffd79cd81ba3e722dcdbf4c20469fa551ce9d80..8ac8eb6c38e21bdb347f59ec41162270ebe82c04 100644
(file)
--- 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;
}