[Varnish] #135: default.vcl out of sync

Varnish varnish-bugs at projects.linpro.no
Thu Aug 2 11:39:48 CEST 2007


#135: default.vcl out of sync
---------------------------+------------------------------------------------
 Reporter:  anders         |       Owner:  des        
     Type:  defect         |      Status:  new        
 Priority:  normal         |   Milestone:             
Component:  documentation  |     Version:  1.1        
 Severity:  normal         |    Keywords:  default.vcl
---------------------------+------------------------------------------------
 The default.vcl installed as a part of Varnish 1.1, is out of sync with
 the actual default VCL in mgt_vcc.c. For example, default.vcl mentions
 using resp.http.Set-Cookie in vcl_fetch, but this is not valid:

 vcl.load run1 /usr/local/etc/varnish.vcl
 106 190
 Variable 'resp.http.Set-Cookie' not accessible in method 'vcl_fetch'.
 At: (/usr/local/etc/varnish.vcl Line 75 Pos 13)
         if (resp.http.Set-Cookie) {
 ------------####################---

 In mgt_vcc.c, obj.http.Set-Cookie is used, which works.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/135>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list