You can check your resp.status in vcl_deliver and return(restart) here.

Regards,
Thierry

-----Message d'origine-----
De : Laurent Lavaud [mailto:[email protected]] 
Envoyé : mercredi 5 novembre 2014 16:32
À : MAGNIEN, Thierry
Cc : [email protected]
Objet : Re: restart in varnish 4

No it is not what i want because retry jump back to vcl_backend_fetch and i 
cant set req.backend_hint in this vlc

----- Mail original -----
> Hi,
> 
> Not sure bue this may be what you're looking for:
> https://www.varnish-cache.org/docs/trunk/whats-new/upgrading.html#backend-restarts-are-now-retry
> 
> Regards,
> Thierry
> 
> -----Message d'origine-----
> De : [email protected]
> [mailto:[email protected]]
> De la part de Laurent Lavaud
> Envoyé : mercredi 5 novembre 2014 16:14
> À : [email protected]
> Objet : restart in varnish 4
> 
> Hello,
> 
> In varnish 3 i do a restart in vcl_fetch when i have a 404 error from
> my backend, it allow me to set a different backend for the second
> request.
> 
> With varnish 4 i cant do a restart in vcl_backend_response
> 
> How can i achieve this ?
> 
> _______________________________________________
> varnish-misc mailing list
> [email protected]
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to