Upgrade v3 -> v4 req.grace in vcl_recv

Andreas Plesner Jacobsen apj at mutt.dk
Tue May 6 11:05:12 CEST 2014


On Tue, May 06, 2014 at 10:58:20AM +0200, Giuseppe Pascarella wrote:
> 
> Unknown variable 'req.grace'
> At: ('input' Line 46 Pos 9)
>     set req.grace = 10m;
> --------#########-------
> 
> How can I fix this?

The grace logic has been moved to VCL. Tweak the conditionals in the builtin
vcl_hit to achieve what you want.

-- 
Andreas



More information about the varnish-misc mailing list