Mailing List Archive

r2633 - trunk/varnish-cache/bin/varnishd
Author: phk
Date: 2008-04-21 09:01:20 +0200 (Mon, 21 Apr 2008)
New Revision: 2633

Modified:
trunk/varnish-cache/bin/varnishd/cache_http.c
Log:
Remove an assert which is no longer true in the case of a non-headered
(not-RFC2616 compliant) request.



Modified: trunk/varnish-cache/bin/varnishd/cache_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_http.c 2008-04-21 06:33:37 UTC (rev 2632)
+++ trunk/varnish-cache/bin/varnishd/cache_http.c 2008-04-21 07:01:20 UTC (rev 2633)
@@ -372,7 +372,6 @@
hp->nhd = HTTP_HDR_FIRST;
hp->conds = 0;
r = NULL; /* For FlexeLint */
- assert(p <= t.e); /* http_header_complete() guarantees this */
for (; p < t.e; p = r) {
/* XXX: handle continuation lines */
q = strchr(p, '\n');