req.restarts in varnish 4.0.1. What to do?

Oliver Joa ojoa at vwd.com
Thu Aug 21 15:00:06 CEST 2014


Hi,

On 21.08.2014 14:41, Sam Pegler wrote:
> It's now set to return(retry); as per the documentation.

I know this. The point is that I can not read req.restarts. I don't know 
how often the Request was restartet already.

Thanks

Oliver Joa

>
> """
>
> Backend restarts are now retry
> <https://www.varnish-cache.org/docs/trunk/whats-new/upgrading.html#backend-
> restarts-are-now-retry>In 3.0 it was possible to do return(restart) after
> noticing that the backend response was wrong, to change to a different
> backend.
> This is now called return(retry), and jumps back up to vcl_backend_fetch.
> This only influences the backend fetch thread, client-side handling is not
> affected.
>
>
> """
>
> https://www.varnish-cache.org/docs/trunk/whats-new/upgrading.html
>
>
>
>


*********************************************************************
Der Inhalt dieser E-Mail ist ausschließlich für den bezeichneten 
Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser 
E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte, 
dass jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung 
oder Weitergabe des Inhalts dieser E-Mail unzulässig ist. Wir bitten 
Sie, sich in diesem Fall mit dem Absender der E-Mail in Verbindung 
zu setzen. 

The content of this e-mail is meant exclusively for the person to 
whom it is addressed. If you are not the person to whom this e-mail 
is addressed or his/her representative, please be informed that any 
form of knowledge, publication, duplication or distribution of the 
content of this e-mail is inadmissible. In such cases we kindly ask 
you to contact the sender of this e-mail.
_
*********************************************************************




More information about the varnish-misc mailing list