Pull Hash_data into header
L Cruzero
lcruzero at gmail.com
Tue Jul 2 20:48:44 UTC 2019
Hi,
I'm trying to put hash_data info onto a header for debugging purposes:
varnishd -V
varnishd (varnish-plus-6.0.3r6 revision
bd7ae68d24df8ec166bd40b47726313c235b70a1)
I'm able to see the hash values via varnishlog after setting these startup
parameters: DAEMON_OPTS=" -p vsl_mask=+Hash"
- VCL_return hash
- VCL_call HASH
- Hash "/ps01/3000_complete.m3u8%00"
- Hash "/ps01/3000_complete.m3u8%00"
however I'm not able to load the data onto a header under sub vcl_deliver
with:
set resp.http.X.MY-DEBUG = req.http.X-MY-DEBUG + " HASH: " + req.hash;
Thanks,
Luis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20190702/fc33588b/attachment.html>
More information about the varnish-misc
mailing list