[Varnish] #481: Retain information about backends post-vbe_conn destruction for use in VCL

Varnish varnish-bugs at varnish-cache.org
Thu Sep 30 13:10:08 CEST 2010


#481: Retain information about backends post-vbe_conn destruction for use in VCL
-------------------------+--------------------------------------------------
 Reporter:  mbm          |        Owner:  phk   
     Type:  enhancement  |       Status:  closed
 Priority:  normal       |    Milestone:        
Component:  varnishd     |      Version:  2.0   
 Severity:  normal       |   Resolution:  fixed 
 Keywords:  VCL backend  |  
-------------------------+--------------------------------------------------
Changes (by phk):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 (In [5371]) Add three new VCL variables, readble from vcl_fetch{} only:

 beresp.backend.name (STRING)
         VCL name of backend fetched from.
         This name may have the form "somedirector[29]" if backends
         are declared directly in directors.

 beresp.backend.ip (IP)
         IP number of remote end of connection.

 beresp.backend.port (INT)
         TCP port number of remote end of connection.

 Fixes:  #481

-- 
Ticket URL: </ticket/481#comment:2>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list