threads / discuss / 27394

git over https and http 1.1

Subject: git over https and http 1.1

## tl;dr

3 messages between May 18, 2011 and May 19, 2011.

replies: 2people: 3as markdown or json

Nir Friedman· May 18, 2011, 12:30 UTC · lore

I am using git with https as the transport protocol. Response times were around 30 seconds before apache started processing the backend command. I added the flags [BrowserMatch "git" downgrade-1.0 force-response-1.0] to the apache conf file, and response times were fast. This seems to mean that the libcurl library is not dealing correctly with HTTP 1/1 over SSL. Is this the best fix? If so, maybe appropriate documentation should be added to the git setup docs.

-Nirf
Daniel Stenberg· May 18, 2011, 12:41 UTC · re: Nir Friedman · lore

Re: git over https and http 1.1

On Wed, 18 May 2011, Nir Friedman wrote:
> I am using git with https as the transport protocol. Response times were 
> around 30 seconds before apache started processing the backend command.

Can you please be a bit more elaborate on exactly what took that much time? What is a "response time" in this context?

> I added the flags   [BrowserMatch "git"      downgrade-1.0
> force-response-1.0] to the apache conf file, and response times were fast.
How fast is "fast" compared to the previous 30 seconds?
> This seems to mean that the libcurl library is not dealing correctly with 
> HTTP 1/1 over SSL.

I don't think that's what it means but I have to little data to go on. What libcurl version are you using on what platform?

-- 
  / daniel.haxx.se
Peter Vereshagin· May 19, 2011, 14:39 UTC · re: Nir Friedman · lore

Re: git over https and http 1.1

You'll never silence the voice of the voiceless, Nir! 2011/05/18 15:30:18 +0300 Nir Friedman <nirfri@hotmail.com> => To git@vger.kernel.org : NF> I am using git with https as the transport protocol. NF> Response times were around 30 seconds before apache started processing the NF> backend command. NF> I added the flags [BrowserMatch "git" downgrade-1.0 NF> force-response-1.0] to the apache conf file, and response times were fast. NF> This seems to mean that the libcurl library is not dealing correctly with NF> HTTP 1/1 over SSL. Is this the best fix?

It's very unlikely for curl to work bad with https. Isn't it a DNS-related delay?

NF> If so, maybe appropriate documentation should be added to the git setup NF> docs.

73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB 12F8 0CE1 4AAC A0E2 6627) -- http://vereshagin.org

← back to recent threads