[Varnish] #971: Broken DNS director

Varnish varnish-bugs at varnish-cache.org
Thu Aug 4 16:13:24 CEST 2011


#971: Broken DNS director
-------------------+--------------------------------------------------------
 Reporter:  rdvn   |        Type:  defect  
   Status:  new    |    Priority:  normal  
Milestone:         |   Component:  build   
  Version:  3.0.0  |    Severity:  critical
 Keywords:         |  
-------------------+--------------------------------------------------------

Comment(by rdvn):

 I just found out another thing. When I define .connect_timeout, as
 described in documentation. I can't even compile VCL.

 {{{
 director test dns {
   .list = {
     .port = "80";
     .connect_timeout = 0.4;
     "192.168.16.128"/25;
   }
   .ttl = 15m;
 }
 }}}

 {{{
 Message from VCC-compiler:
 Expected ID got ';'
 (program line 186), at
 ('input' Line 9 Pos 27)
     .connect_timeout = 0.4;
 --------------------------#

 Expected '.' got '"192.168.16.128"'
 (program line 98), at
 ('input' Line 10 Pos 5)
     "192.168.16.128"/25;
 ----################----


 In director specification starting at:
 ('input' Line 6 Pos 1)
 director test dns {
 ########-----------

 Running VCC-compiler failed, exit 1

 VCL compilation failed
 }}}

-- 
Ticket URL: <http://varnish-cache.org/trac/ticket/971#comment:4>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list