From: Johannes Schindelin Date: Fri, 28 Aug 2015 09:23:15 GMT Subject: Re: http.c (curl_easy_setopt and CURLAUTH_ANY) Message-ID: In-Reply-To: Hi Stephen, On 2015-08-28 08:07, Stephen Kazakoff wrote: > When I'm behind a proxy (with BASIC authentication), I'm unable to > perform a git clone. > > I managed to fix this by editing http.c and recompiling. The change > I'd like to propose is to line 452. > > > From: > > curl_easy_setopt(result, CURLOPT_PROXYAUTH, CURLAUTH_ANY); > > To: > > curl_easy_setopt(result, CURLOPT_PROXYAUTH, CURLAUTH_BASIC | CURLAUTH_NTLM); But `CURLAUTH_ANY` should imply `_BASIC` and `_NTLM`. I remember that the `_ANY` was supposed to avoid hard-coding things. According to https://github.com/bagder/curl/blob/ac7be02e695af95e93b3f5a40b80dcab782f5321/include/curl/curl.h#L651 it should actually imply even more. Maybe that is the problem? Could you debug further by setting the environment variable GIT_CURL_VERBOSE=1? Ciao, Johannes