Commit cd85596a authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

"HEAD" has 4 characters.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@568 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 6dfd2978
......@@ -129,7 +129,7 @@ order(unsigned char *p, int h_opt)
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment