In message <[email protected]>, Nils Goroll writes: >> a regexp or a strncasecmp() > >We don't have stncasecmp() in VCL at this point, so we need to compare >performance of pcre_exec() and strcmp().
Maybe the right solution is to make sure we do have it. >If this suggestion is not found useful, I think we should at least fix all >the wrong examples for host header comparison in the docs. It is not that it is not useful, it's just not the right way to fix it. And yes, the docs should be correct. -- 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] http://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
