Varnish version 6.3 vcl test fails with custom http header starting with a number

Yassine Aouadi yassine.aouadi90 at gmail.com
Fri Oct 18 15:31:54 UTC 2019


Message from VCC-compiler:
Symbol 'req.http' has wrong type (none):
At: ('/etc/varnish/default.vcl' Line 182 Pos 9) -- (Pos 16)
    set req.http.7hello = "world";
--------########-------------------

Symbol was builtin
Running VCC-compiler failed, exited with 2
VCL compilation failed


same code works when using a letter before the number :

set req.http.x7hello = "world";

before submitting a bug a report in github wanted to check is someone is
familiar with this issue ?


Thanks,

--yaouadi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20191018/191a5783/attachment.html>


More information about the varnish-misc mailing list