[Varnish] #289: VCL insert bug in trunk
Varnish
varnish-bugs at projects.linpro.no
Thu Aug 14 14:35:38 CEST 2008
#289: VCL insert bug in trunk
----------------------+-----------------------------------------------------
Reporter: ay | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
I upgraded from trunk 2919 to 3092 and i get this error from my vcl on
3092
sub vcl_fetch {
include "/etc/varnish/identity.vcl";
remove obj.http.X-VG-Varnish-IP;
set obj.http.X-VG-Varnish-IP = server.ip;
set obj.grace = 5s;
if (obj.http.Set-Cookie) {
insert;
}
}
Expected action, 'if' or '}'
(/etc/varnish/default.vcl Line 77 Pos 17)
insert;
----------------######-
VCL compilation failed
This works in 2919 but not in 3092
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/289>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list