git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Dmitry SmirnovNext: Dmitry Smirnov
Message 8 of 13 in “Git 1.7.5 problem with HTTPS”
  1. Dmitry SmirnovNov 15, 2011
  2. Shawn PearceNov 15, 2011
  3. Junio C HamanoNov 15, 2011
  4. Dmitry SmirnovNov 16, 2011
  5. Junio C HamanoNov 16, 2011
  6. Tay Ray ChuanNov 16, 2011
  7. Dmitry SmirnovNov 16, 2011
  8. Daniel StenbergNov 16, 2011
  9. Dmitry SmirnovNov 16, 2011
  10. Jonathan NiederNov 16, 2011
  11. Dmitry SmirnovNov 16, 2011
  12. Haitao LiNov 16, 2011
  13. Dmitry SmirnovNov 17, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.