diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-08-14 22:12:59 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-08-14 22:12:59 +0200 |
commit | 755004eaed008779bed9e5efb8b539917dbf431b (patch) | |
tree | e676771a5de2c812173833d85e837c0f04b14aec | |
parent | 9f1af7f279e9f5cbd03c9a9d78fcba77a1c2c64c (diff) | |
parent | dc0351893accfc94911cf7067f2b96736675a419 (diff) | |
download | libgit2-755004eaed008779bed9e5efb8b539917dbf431b.tar.gz |
Merge pull request #3362 from libgit2/cmn/curl-proxyauth-any
curl: use the most secure auth method for the proxy
-rw-r--r-- | src/curl_stream.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/curl_stream.c b/src/curl_stream.c index 63421fcf7..798bd5a52 100644 --- a/src/curl_stream.c +++ b/src/curl_stream.c @@ -220,6 +220,7 @@ int git_curl_stream_new(git_stream **out, const char *host, const char *port) curl_easy_setopt(handle, CURLOPT_SSL_VERIFYPEER, 1); curl_easy_setopt(handle, CURLOPT_CERTINFO, 1); curl_easy_setopt(handle, CURLOPT_HTTPPROXYTUNNEL, 1); + curl_easy_setopt(handle, CURLOPT_PROXYAUTH, CURLAUTH_ANY); /* curl_easy_setopt(handle, CURLOPT_VERBOSE, 1); */ |