Problems with varnish 1.1 and obj.status

Dag-Erling Smørgrav des at linpro.no
Tue Jul 24 10:38:18 CEST 2007


Thomas Westlund <thomas.westlund at aftenposten.no> writes:
> Varnish fails at restart with the following response:
>
> Starting varnishd.
> Problem loading compiled VCL program:
> ./bin.U5BscB9E: Undefined symbol "VRT_r_obj_status"
>
> If I remove the "if (obj.status == 404)" statement everything works just fine.

Looks like an oversight; resp.status is both readable and writable, but
obj.status is write-only.

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no



More information about the varnish-misc mailing list