[Varnish] #1571: Wrong data type assignment
Varnish
varnish-bugs at varnish-cache.org
Fri Aug 8 13:12:53 CEST 2014
#1571: Wrong data type assignment
----------------------+----------------------
Reporter: zviratko | Type: defect
Status: new | Priority: normal
Milestone: | Component: varnishd
Version: 4.0.1 | Severity: normal
Keywords: |
----------------------+----------------------
This does not compile
set req.http.X-Hash-Key = client.ip + " " + req.url;
because X-Hash-Key becomes auto-typed as IP
This works:
set req.http.X-Hash-Key = req.url + " " + client.ip;
I believe this should intelligently default to string either way?
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1571>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list