req.restarts in varnish 4.0.1. What to do?

Andreas Plesner Jacobsen apj at mutt.dk
Thu Aug 21 15:33:03 CEST 2014


On Thu, Aug 21, 2014 at 03:00:06PM +0200, Oliver Joa 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.

Restarts are client side. Retries are backend side. If you retry a backend
request, bereq.retries will be incremented.

-- 
Andreas



More information about the varnish-misc mailing list