Mailing List Archive

#1837: Compiling error if probe is defined after backend
#1837: Compiling error if probe is defined after backend
----------------------+-------------------
Reporter: fgsch | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Keywords:
----------------------+-------------------
If a probe is referenced before the backend is defined varnishd will fail
to compile the VCL:

{{{
Message from C-compiler:
vgc.c:968:12: error: \xe2\x80\x98vgc_probe_p\xe2\x80\x99 undeclared here
(not in a function)
.probe = &vgc_probe_p,
^
Running C-compiler failed, exited with 1
}}}

Test attached.

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1837>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs