[Varnish] #1837: Compiling error if probe is defined after backend

Varnish varnish-bugs at varnish-cache.org
Mon Jan 11 16:14:03 CET 2016


#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



More information about the varnish-bugs mailing list