[Varnish] #1078: req.http.host and port.

Varnish varnish-bugs at varnish-cache.org
Mon Jan 2 12:20:03 CET 2012


#1078: req.http.host and port.
--------------------------+-------------------------------------------------
  Reporter:  TychoCelchu  |        Type:  enhancement
    Status:  closed       |    Priority:  normal     
 Milestone:               |   Component:  varnishd   
   Version:  3.0.2        |    Severity:  normal     
Resolution:  wontfix      |    Keywords:             
--------------------------+-------------------------------------------------
Changes (by kristian):

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


Comment:

 Req.http.host is provided by a client.

 Use server.port for Varnish' idea of what port is in use.

 Feel free to tinker with req.http.host yourself, but it shouldn't be done
 by magic on our end.

 If the port is in your way: set req.http.host =
 regsub(req.http.host,":.*$",""); or similar.

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




More information about the varnish-bugs mailing list