mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-28 00:25:29 +00:00
Merge pull request #3362 from libgit2/cmn/curl-proxyauth-any
curl: use the most secure auth method for the proxy
This commit is contained in:
commit
755004eaed
@ -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); */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user