Commit d690bf82 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

We may in fact not have any headers.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2090 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 29a80ccd
......@@ -362,7 +362,7 @@ 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 */
assert(p <= t.e); /* http_header_complete() guarantees this */
for (; p < t.e; p = r) {
/* XXX: handle continuation lines */
q = strchr(p, '\n');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment