r326 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Wed Jul 5 14:17:49 CEST 2006
Author: phk
Date: 2006-07-05 14:17:48 +0200 (Wed, 05 Jul 2006)
New Revision: 326
Modified:
trunk/varnish-cache/bin/varnishd/cache_http.c
Log:
Another pipeline fix: don't clobber a pipelined partial header
Modified: trunk/varnish-cache/bin/varnishd/cache_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_http.c 2006-07-05 11:44:45 UTC (rev 325)
+++ trunk/varnish-cache/bin/varnishd/cache_http.c 2006-07-05 12:17:48 UTC (rev 326)
@@ -377,11 +377,12 @@
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 */
More information about the varnish-commit
mailing list