[Varnish] #465: regsub seems no use in sub_recv as a hash key

Varnish varnish-bugs at projects.linpro.no
Wed Mar 11 11:11:41 CET 2009


#465: regsub seems no use in sub_recv as a hash key
--------------------------+-------------------------------------------------
 Reporter:  flyincat      |        Owner:            
     Type:  defect        |       Status:  closed    
 Priority:  normal        |    Milestone:            
Component:  build         |      Version:  2.0       
 Severity:  normal        |   Resolution:  worksforme
 Keywords:  hash req.url  |  
--------------------------+-------------------------------------------------
Changes (by phk):

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

Comment:

 I tried to reproduce this problem and could not.

 You should not need to do anything with vcl_hash{} if you rewrite the
 req.url in vcl_recv{} since it uses the most recent set value for req.url.

 Are you sure it is not some other thing that causes the miss ?  Host:
 header for instance ?

 Poul-Henning

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/465#comment:1>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list