trunk and obj.ttl obj.grace obj.http.set-cookie
Kristian Lyngstol
kristian at redpill-linpro.com
Thu Sep 17 17:10:54 CEST 2009
On Thu, Sep 17, 2009 at 05:02:37PM +0200, Václav Bílek wrote:
> I have tried trunk releas and hit problem vith VLC which worked in 2.0.4...
>
> Variable 'obj.grace' not accessible in method 'vcl_fetch'
> Variable 'obj.http.set-cookie' not accessible in method 'vcl_fetch'
> Variable 'obj.ttl' not accessible in method 'vcl_fetch'
>
>
> did the syntax changed?
Yup, in fetch, most of what used to be 'obj' is now available as 'beresp'.
So: beresp.grace, beresp.http.*, beresp.ttl in your case.
--
Kristian Lyngstøl
Redpill Linpro AS
Tlf: +47 21544179
Mob: +47 99014497
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20090917/bf0974e9/attachment-0003.pgp>
More information about the varnish-misc
mailing list