[Varnish] #1271: Seemingly valid backend identifier causes VCL compilation failure

Varnish varnish-bugs at varnish-cache.org
Wed Feb 27 01:58:12 CET 2013


#1271: Seemingly valid backend identifier causes VCL compilation failure
-----------------------+----------------------
 Reporter:  aaronlevy  |       Type:  defect
   Status:  new        |   Priority:  normal
Milestone:             |  Component:  varnishd
  Version:  3.0.2      |   Severity:  normal
 Keywords:             |
-----------------------+----------------------
 Setting a backend identifier to "storage[0-9]+" causes the VCL compilation
 to fail with unhelpful message.

 Example:
 {{{
 backend storage1 {
   .host = "127.0.0.1";
   .port = "8080"
 }
 }}}

 Results in:
 {{{
 Assert error in vcc_Stv_Wildcard(), vcc_storage.c line 115:
   Condition((t->e - t->b) > strlen(PFX)) not true.
   errno = 9 (Bad file descriptor)
 Running VCC-compiler failed, signal 6, core dumped

 VCL compilation failed
 }}}

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




More information about the varnish-bugs mailing list