Varnish 3 : check url length in vcl

David B. haazeloud at gmail.com
Wed Sep 24 13:59:02 CEST 2014


Hi varnish users,

Is there a simple way to check url length in a VCL ?

Like described here :
https://www.varnish-cache.org/trac/ticket/701#comment:1

Some code like : if (length(req.http) > 200) {...}
Should be great, but this seems not to work.

The best way could be to use inline C code with strlen ?

Best Regards
David.




More information about the varnish-misc mailing list