[Varnish] #1436: VCL Compiler bug
Varnish
varnish-bugs at varnish-cache.org
Fri Feb 21 11:57:24 CET 2014
#1436: VCL Compiler bug
--------------------+----------------------
Reporter: perbu | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: build | Version: unknown
Severity: normal | Resolution:
Keywords: |
--------------------+----------------------
Description changed by perbu:
Old description:
> 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
New description:
{{{
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#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list