Varnish and time out on backend (first_byte_timeout).
Mickaël GERVAIS
mgervais at agaetis.fr
Wed Jan 12 11:34:37 CET 2011
Hi
I've configured my back end as follow:
.host = "xxxxxxxxxx";
.port = "80";
.connect_timeout = 1s;
.first_byte_timeout = 10s;
.between_bytes_timeout = 2s;
If a timeout occurs (first_byte_timeout reached) the function vcl_error is
called, I'd like to use the saint mode to retreive the response from the
cache, but saint mode is only avaliable on beresp.
Is there a way to tell varnish use a dirty object from the cache? Maybe is
not the correct way to handle this kind of error.
Thanks.
:::::::::::::::::::::::::::::::::::::::::::::::
MICKAL GERVAIS
Agaetis
10 allée Evariste Galois
63 000 Clermont-Ferrand
Courriel : mgervais at agaetis.fr
Téléphone : 04 73 44 56 51
Portable : 06 82 35 52 82
Site : http://www.agaetis.fr [1]
:::::::::::::::::::::::::::::::::::::::::::::::
Links:
------
[1] http://www.agaetis.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110112/8d01218f/attachment-0003.html>
More information about the varnish-misc
mailing list