Varnish backend timeout doesn't work with keep alive backend

Dridi Boukelmoune dridi at varni.sh
Thu Dec 29 09:21:06 CET 2016


On Thu, Dec 29, 2016 at 3:44 AM, JackDrogon <jack.xsuperman at gmail.com> wrote:
> How to disable backend keep-alive. I want to test it.

In vcl_backend_fetch, you can do:

    set bereq.http.connection = "close";

That's how it's specified in HTTP/1.1, by default a connection is persistent.

Dridi



More information about the varnish-misc mailing list