Varnish backend timeout doesn't work with keep alive backend
Dridi Boukelmoune
dridi at varni.sh
Wed Dec 28 10:55:09 CET 2016
On Wed, Dec 28, 2016 at 10:24 AM, Andreas Plesner <apj at mutt.dk> wrote:
> On Wed, Dec 28, 2016 at 05:12:54PM +0800, JackDrogon wrote:
>
>> I set varnish backend that:
>> backend default { .host = "127.0.0.1"; .port = "4567"; .connect_timeout
>> = 1s; .first_byte_timeout = 2s; .between_bytes_timeout = 1s; }
>> The first timeout is right, but if the prev connection is right,
>> varnish use keepalive to deal with the next connection with same url
>> and the timeout conf doesn't wok.
>
> Please elaborate. Describe the situation that doesn't work as you expect, and what you would expect to happen.
Possibly a known problem [1] for first_byte_timeout, apparently still
an open issue.
Dridi
[1] https://github.com/varnishcache/varnish-cache/issues/1772
More information about the varnish-misc
mailing list