varnish-4.0-configuration-templates icon indicating copy to clipboard operation
varnish-4.0-configuration-templates copied to clipboard

Compiling failed by VCC-compiler

Open kai-cool-dev opened this issue 8 years ago • 1 comments

Hello,

I tried using the configuration template, but I get following error:

Okt 05 16:42:45 litt varnishd[18997]: Message from VCC-compiler: Okt 05 16:42:45 litt varnishd[18997]: Expected return action name. Okt 05 16:42:45 litt varnishd[18997]: ('input' Line 273 Pos 15) Okt 05 16:42:45 litt varnishd[18997]: return (miss); Okt 05 16:42:45 litt varnishd[18997]: --------------####-- Okt 05 16:42:45 litt varnishd[18997]: Running VCC-compiler failed, exited with 2 Okt 05 16:42:45 litt varnishd[18997]: VCL compilation failed Can you please investigate. I am using varnish-4.0.4 revision 386f712 on CentOS 7 x64

Thank you for your work, cheers!

kai-cool-dev avatar Oct 05 '17 14:10 kai-cool-dev

just replace return (miss) by return (fetch) in each line where is used.

aldibier avatar Oct 09 '17 21:10 aldibier