Re: Git 1.7.5 problem with HTTPS
- From
Daniel Stenberg <daniel@haxx.se>
- Date
- Nov 16, 2011, 09:13 UTC
- Message-ID
- <alpine.DEB.2.00.1111161008430.19479@tvnag.unkk.fr>
- In-Reply-To
- <CACf55T5cp1ko45DCufcRXm=EeZd1-x+aYasvbzjDXkQH31u5VA@mail.gmail.com>
On Wed, 16 Nov 2011, Dmitry Smirnov wrote:
> Unfortunately, I cannot see, why problem occurs. The only indication is > * Connection #0 seems to be dead!
That means libcurl wanted to re-use an existing connection, but it seems to have died in the mean time and therefore it has to create a new one and reconnect instead. I suppose that is the first indication that something isn't quite right.
> Is it possible that curl sends the request in plain text?
I'd say that isn't very likely and you could easily snoop on the network to figure that out for sure.
> And according to tcpdump, why git/curl sends the request before Server > Hello?
curl will send the HTTP request once the TLS negotiation has completed as told by the TLS library. I believe you said you're using GnuTLS, are you using a recent version?
This is not a transfer layer (curl/HTTPS) bug I recognize, but I can of course not rule out that there's a bug somewhere in there!
-- / daniel.haxx.se