r568 - trunk/varnish-cache/bin/varnishlog
phk at projects.linpro.no
phk at projects.linpro.no
Fri Jul 28 15:41:20 CEST 2006
Author: phk
Date: 2006-07-28 15:41:20 +0200 (Fri, 28 Jul 2006)
New Revision: 568
Modified:
trunk/varnish-cache/bin/varnishlog/varnishlog.c
Log:
"HEAD" has 4 characters.
Modified: trunk/varnish-cache/bin/varnishlog/varnishlog.c
===================================================================
--- trunk/varnish-cache/bin/varnishlog/varnishlog.c 2006-07-24 10:13:29 UTC (rev 567)
+++ trunk/varnish-cache/bin/varnishlog/varnishlog.c 2006-07-28 13:41:20 UTC (rev 568)
@@ -129,7 +129,7 @@
case SLT_Request:
if (h_opt && p[1] == 3 && !memcmp(p + 4, "GET", 3))
hc[u]++;
- if (h_opt && p[1] == 4 && !memcmp(p + 4, "HEAD", 3))
+ if (h_opt && p[1] == 4 && !memcmp(p + 4, "HEAD", 4))
hc[u]++;
v = 1;
break;
More information about the varnish-commit
mailing list