]> err.no Git - varnish/commitdiff
Remove an assert which is no longer true in the case of a non-headered
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 21 Apr 2008 07:01:20 +0000 (07:01 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 21 Apr 2008 07:01:20 +0000 (07:01 +0000)
(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

index d8d09fa3f80d5224f3d64bd2ace60f5e06fbdca3..d6986f990cb1347f5705b6f65c0c1aa74ae18e59 100644 (file)
@@ -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');