From: phk Date: Mon, 21 Apr 2008 07:01:20 +0000 (+0000) Subject: Remove an assert which is no longer true in the case of a non-headered X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c815790b3035d6343c05f99160da21ea45fe22f;p=varnish 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 --- 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');