obj.status and obj.cacheable in varnish 2.1
David Murphy
David at firechaser.com
Tue Apr 13 08:35:37 CEST 2010
Hi Mahesh
obj.* is called beresp.* in vcl_fetch in Varnish 2.1.
Best, David
On 13 Apr 2010, at 08:10, Mahesh Ollalwar wrote:
Hi,
I'm getting below errors in Varnish 2.1 whereas it was working in the older versions.
Message from VCC-compiler:
Variable 'obj.cacheable' not accessible in method 'vcl_fetch'.
At: (input Line 349 Pos 14)
if (!obj.cacheable) {
-------------#############---
Running VCC-compiler failed, exit 1
Message from VCC-compiler:
Variable 'obj.status' not accessible in method 'vcl_fetch'.
At: (input Line 357 Pos 13)
if (obj.status == 500 || obj.status == 501 || obj.status == 502 || obj.status == 503 || obj.status == 504 || obj.status == 404){
------------##########------------------------------------------------------------------------------------------------------------------
Running VCC-compiler failed, exit 1
Can anyone help me ?
Thanks,
Mahesh.
_______________________________________________
varnish-misc mailing list
varnish-misc at varnish-cache.org<mailto:varnish-misc at varnish-cache.org>
http://lists.varnish-cache.org/mailman/listinfo/varnish-misc
---------
David Murphy
Technical Director
Firechaser Limited
78 York Street
London W1H 1DP
0870 735 0800
www.firechaser.com<http://www.firechaser.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20100413/d7e48dfd/attachment-0002.html>
More information about the varnish-misc
mailing list