[Varnish] #1042: Error in "Multiple Subroutines"

Varnish varnish-bugs at varnish-cache.org
Wed Oct 26 10:55:56 CEST 2011

#1042: Error in "Multiple Subroutines"
 Reporter:  sherrmann  |        Type:  documentation
   Status:  new        |    Priority:  normal       
Milestone:             |   Component:  documentation
  Version:  3.0.0      |    Severity:  normal       
 Keywords:             |  
 The documentation (https://www.varnish-
 cache.org/docs/trunk/reference/vcl.html#multiple-subroutines) states:
 "If multiple subroutines with the same name are defined, they are
 concatenated in the order in which the appear in the source."

 This is only true for the builtin subroutines.

 Trying to do
 sub foo {}
 sub foo {}
 gives the error "Function foo redefined"

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

More information about the varnish-bugs mailing list