Problems translating 2.0.x vcl to 2.1.x

Frank Helmschrott fhelmschrott at gmail.com
Wed Dec 22 10:23:04 CET 2010


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




More information about the varnish-misc mailing list