[Varnish] #1625: if(req.backend_hint == b1) compiles, but does nothing

Varnish varnish-bugs at varnish-cache.org
Mon Nov 17 12:30:29 CET 2014


#1625: if(req.backend_hint == b1) compiles, but does nothing
-------------------------+--------------------
 Reporter:  huguesalary  |       Owner:
     Type:  defect       |      Status:  new
 Priority:  normal       |   Milestone:
Component:  build        |     Version:  4.0.2
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+--------------------

Comment (by lkarsten):

 Comparing with req.backend_hint isn't the way to go.

 You should tag your object with beresp.backend.name in
 vcl_backend_response, and compare with that instead.

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1625#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list