Commit 6d431c63 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Another pipeline fix: don't clobber a pipelined partial header


git-svn-id: http://www.varnish-cache.org/svn/trunk@326 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 59077c9d
......@@ -377,11 +377,12 @@ http_RecvHead(struct http *hp, int fd, struct event_base *eb, http_callback_f *f
func(arg, 1);
return;
}
} else {
hp->v = hp->s;
hp->t = hp->s;
}
hp->callback = func;
hp->arg = arg;
hp->v = hp->s;
hp->t = hp->s;
event_set(&hp->ev, fd, EV_READ | EV_PERSIST, http_read_f, hp);
event_base_set(eb, &hp->ev);
event_add(&hp->ev, NULL); /* XXX: timeout */
......
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