[Varnish] #1164: Naming a backend storage_something cause VCL compilation error

Varnish varnish-bugs at varnish-cache.org
Fri Jul 6 16:52:29 CEST 2012


#1164: Naming a backend storage_something cause VCL compilation error
-------------------------+--------------------------------------------------
 Reporter:  kimjohansen  |        Type:  defect
   Status:  new          |    Priority:  normal
Milestone:  Later        |   Component:  build 
  Version:  3.0.2        |    Severity:  normal
 Keywords:  vcl backend  |  
-------------------------+--------------------------------------------------
 Creating a backend named storage_<something> cause VCL compilation error.

 Example:

 backend storage_test{
      .host ="127.0.0.1";
      .port ="80";
 }

 Result:

 Message from VCC-compiler:
 Assert error in vcc_Stv_Wildcard(), vcc_storage.c line 116:
   Condition(!memcmp(t->b, PFX, strlen(PFX))) not true.
 Running VCC-compiler failed, signal 6

 VCL compilation failed

 Suggestion:

 Give a more describing error message or allow storage_

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




More information about the varnish-bugs mailing list