[PATCH] Normalizing the Host: header
Poul-Henning Kamp
phk at phk.freebsd.dk
Thu Feb 17 19:47:38 CET 2011
In message <4D5D6308.7000304 at uplex.de>, 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
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-dev
mailing list