From 4c815790b3035d6343c05f99160da21ea45fe22f Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 21 Apr 2008 07:01:20 +0000 Subject: [PATCH] Remove an assert which is no longer true in the case of a non-headered (not-RFC2616 compliant) request. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2633 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_http.c | 1 - 1 file changed, 1 deletion(-) diff --git a/varnish-cache/bin/varnishd/cache_http.c b/varnish-cache/bin/varnishd/cache_http.c index d8d09fa3..d6986f99 100644 --- a/varnish-cache/bin/varnishd/cache_http.c +++ b/varnish-cache/bin/varnishd/cache_http.c @@ -372,7 +372,6 @@ http_dissect_hdrs(struct worker *w, struct http *hp, int fd, char *p, txt t) 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'); -- 2.39.5