[Varnish] #1436: VCL Compiler bug
Varnish
varnish-bugs at varnish-cache.org
Fri Feb 21 11:56:59 CET 2014
#1436: VCL Compiler bug
--------------------+---------------------
Reporter: perbu | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: build | Version: unknown
Severity: normal | Keywords:
--------------------+---------------------
The VCL compiler seems to bail when confronted with the following VCL
(missing import statement is the most obvious error):
vcl 4.0;
backend server1 {
.host = "192.168.0.10";
}
backend server2{
.host = "192.168.0.10";
}
sub vcl_init {
new bar = directors.round_robin();
bar.add_backend(server1, server2);
}
--
Error message:
Missing errorhandling code in parse_new(), vcc_action.c line 193:
Condition((sy2) != 0) not true.
Running VCC-compiler failed, signal 6
VCL compilation failed
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1436>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list