Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-08-14 23:12:59 +0300
committerCarlos Martín Nieto <cmn@dwim.me>2015-08-14 23:12:59 +0300
commit755004eaed008779bed9e5efb8b539917dbf431b (patch)
treee676771a5de2c812173833d85e837c0f04b14aec
parent9f1af7f279e9f5cbd03c9a9d78fcba77a1c2c64c (diff)
parentdc0351893accfc94911cf7067f2b96736675a419 (diff)
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.c1
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); */