RE: Commit 5841520b makes it impossible to connect to github from behind my company's firewall.
- From
Enrique Tobis <enrique.tobis@twosigma.com>
- Date
- Oct 20, 2015, 13:39 UTC
- Message-ID
- <cbf2c2c2c137445ebb9e2c5f1012cb10@EXMBNJE8.ad.twosigma.com>
- In-Reply-To
- <vpq37x54vav.fsf@grenoble-inp.fr>
Hey!
I'm really sorry to hear that.
That change should enable more forms of authentication with your proxy, but it does cause libcurl to choose the one it finds most secure, according to the docs (http://curl.haxx.se/libcurl/c/CURLOPT_HTTPAUTH.html) What kinds of authentication does your proxy use?
Thanks, Enrique
-----Original Message----- From: Matthieu Moy [mailto:Matthieu.Moy@grenoble-inp.fr] Sent: Tuesday, October 20, 2015 07:46 To: Johan Laenen Cc: git@vger.kernel.org; Enrique Tobis Subject: Re: Commit 5841520b makes it impossible to connect to github from behind my company's firewall.
Hi,
I'm just Cc-ing Enrique, the author of 5841520b.
Johan Laenen <johan.laenen+cygwin@gmail.com> writes:
Show 36 quoted lines
> Commit 5841520b makes it impossible to connect to github from behind my
> company's firewall.
>
> I'm running CYGWIN_NT-6.1 and the default git version 2.5.3 complains with a
> fatal error when trying to git pull:
>
> $ /bin/git --version
> git version 2.5.3
> $ /bin/git pull
> fatal: unable to access 'https://github.com/gargle/french/': Unknown SSL
> protocol error in connection to github.com:443
>
> Taking the sources of git 2.6.1. and compiling with commit 5841520b in
> http.c reverted gives me a working git.
>
> My http.c now looks like:
>
> 466 if (curl_http_proxy) {
> 467 curl_easy_setopt(result, CURLOPT_PROXY, curl_http_proxy);
> 468 #if LIBCURL_VERSION_NUM >= 0x070a07
> 469 curl_easy_setopt(result, CURLOPT_PROXYAUTH, CURLAUTH_ANY);
> 470 #endif
> 471 }
>
> And it works:
>
> $ git --version
> git version 2.6.1
> $ git pull
> Already up-to-date.
>
>
>
> Greetings,
>
> Johan-- Matthieu Moy http://www-verimag.imag.fr/~moy/