--------
In message <cajv_h0aysidiae006r2z-3ieu0+8sgqwr2a3wgz6kq7hwvv...@mail.gmail.com>
, Federico Schwindt writes:

>$Const INT CASEFOLD 0x0400
>$Const INT LUMP 0x1000
>$Const INT STRIPMARK 0x2000
>
>And access it in VCL via <vmod>.<name>.
>
>set req.url = utf8.transform(req.url, utf8.CASEFOLD + utf8.LUMP +
>utf8.STRIPMARK);

At the very least it would have to spit out some #defines in the
vcc_if.h file, so that you don't have to duplicate the magic
numbers in the C code ?

What types do you see us needing ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[email protected]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to