# git over https and http 1.1

3 messages from 2011-05-18 to 2011-05-19. Participants: nir.friedman@greenhouse.lotus.com, Drew Northup, Daniel Stenberg.
Thread: https://gitlist.dev/t/27395

## nir.friedman@greenhouse.lotus.com, 2011-05-18 12:46

Subject: git over https and http 1.1
Message-ID: <OF134A8B76.F0B9B9C0-ON85257894.00462851-85257894.00462862@greenhouse.lotus.com>
URL: https://gitlist.dev/e/OF134A8B76.F0B9B9C0-ON85257894.00462851-85257894.00462862%40greenhouse.lotus.com

```
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.
```

## Drew Northup, 2011-05-19 20:31

Subject: Re: git over https and http 1.1
Message-ID: <1305837109.25259.11.camel@drew-northup.unet.maine.edu>
URL: https://gitlist.dev/e/1305837109.25259.11.camel%40drew-northup.unet.maine.edu
In-Reply-To: <OF134A8B76.F0B9B9C0-ON85257894.00462851-85257894.00462862@greenhouse.lotus.com>

```

On Wed, 2011-05-18 at 08:46 -0400, Nir.Friedman@greenhouse.lotus.com
wrote:
> 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.--

Sounds a little drastic to me... Perhaps to find out what's going on you
might set up a test repo behind an STunnel instance and have a look at
the TCP/HTTP stream between them? 

Perhaps Git+libcurl isn't using keep-alive? I'd have to check the code.

-- 
-Drew Northup
________________________________________________
"As opposed to vegetable or mineral error?"
-John Pescatore, SANS NewsBites Vol. 12 Num. 59

```

## Daniel Stenberg, 2011-05-19 20:36

Subject: Re: git over https and http 1.1
Message-ID: <alpine.DEB.2.00.1105192235380.25633@tvnag.unkk.fr>
URL: https://gitlist.dev/e/alpine.DEB.2.00.1105192235380.25633%40tvnag.unkk.fr
In-Reply-To: <1305837109.25259.11.camel@drew-northup.unet.maine.edu>

```
On Thu, 19 May 2011, Drew Northup wrote:

> Perhaps Git+libcurl isn't using keep-alive? I'd have to check the code.

They do. HTTP 1.1 even does "keep-alive" by default...

-- 

  / daniel.haxx.se

```
