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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html