Varnish keep-alive problem

Nick Loman nick at loman.net
Tue Jan 6 14:32:51 CET 2009


Tollef Fog Heen wrote:

> | Varnish is a very good web accelerator, and i find it support KeepAlive.
> | The default keep-alive is on. I want to turn off the keep-alive, but i don't know how to do it.
> | Please tell me how to turn off the keep-alive.
> 
> I don't believe that's possible out of the box.  Why do you want to turn
> off keepalive?

You can turn it off on the backend web-server.

Alternatively, you could try adding: "Connection: close" to the returned 
headers in the VCL which should encourage the client to close the 
connection.

Cheers,

Nick.






More information about the varnish-misc mailing list