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

Change an assert() to diagnostic() since it negates the benefit we

seek from the HTTP header indentification speedup.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2764 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 87bc8979
......@@ -207,7 +207,7 @@ http_GetHdr(const struct http *hp, const char *hdr, char **ptr)
char *p;
l = hdr[0];
assert(l == strlen(hdr + 1));
diagnostic(l == strlen(hdr + 1));
assert(hdr[l] == ':');
hdr++;
u = http_findhdr(hp, l - 1, hdr);
......
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