Hi,

i manage upgrading my varnishd to the latest from the varnish RHEL
repos and now trying to translate my vcl to the newest syntax. I
already changed some things which worked but i still get this error:

Message from VCC-compiler:
Expected an action, 'if', '{' or '}'
(input Line 204 Pos 5)
    discard;
----#######-
Running VCC-compiler failed, exit 1
VCL compilation failed

here's the line from vcl:

sub vcl_timeout {
    discard;
}

I have to state that i copied over a vcl that i found to fit my needs
for now and didn't write it myself. I couldn't find any changes with
the section from 2.0.x to 2.1.x so i'm a bit confused for now.

Thanks for helping!

-- 
Frank

_______________________________________________
varnish-misc mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to