Varnish 3 : check url length in vcl

David B. haazeloud at
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 :

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

More information about the varnish-misc mailing list