How to make nginx establish persistent connections with squid?

Maxim Dounin mdounin at
Mon Mar 25 11:26:57 UTC 2013


On Sun, Mar 24, 2013 at 04:42:36AM -0400, selphon wrote:


> Though the response is in HTTP/1.0, the persistent connections is
> successfully established  between chrome and squid. I wonder, is there a
> restriction that nginx can only make establish persistent connections when
> the response is in HTTP/1.1 protocol ?

It looks I wasn't clear enough.  While keepalive connections via 
HTTP/1.0 are possible with "Connection: keep-alive" extension, 
nginx will only keep upstream connections alive after an HTTP/1.1 

Maxim Dounin

More information about the nginx mailing list