r2764 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Sat Jun 21 23:04:59 CEST 2008
Author: phk
Date: 2008-06-21 23:04:59 +0200 (Sat, 21 Jun 2008)
New Revision: 2764
Modified:
trunk/varnish-cache/bin/varnishd/cache_http.c
Log:
Change an assert() to diagnostic() since it negates the benefit we
seek from the HTTP header indentification speedup.
Modified: trunk/varnish-cache/bin/varnishd/cache_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_http.c 2008-06-21 21:03:27 UTC (rev 2763)
+++ trunk/varnish-cache/bin/varnishd/cache_http.c 2008-06-21 21:04:59 UTC (rev 2764)
@@ -207,7 +207,7 @@
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);
More information about the varnish-commit
mailing list