r256 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Wed Jun 28 18:58:21 CEST 2006
Author: phk
Date: 2006-06-28 18:58:21 +0200 (Wed, 28 Jun 2006)
New Revision: 256
Modified:
trunk/varnish-cache/bin/varnishd/cache_http.c
Log:
Don't finish the sbuf in mode 3
Modified: trunk/varnish-cache/bin/varnishd/cache_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_http.c 2006-06-28 16:57:50 UTC (rev 255)
+++ trunk/varnish-cache/bin/varnishd/cache_http.c 2006-06-28 16:58:21 UTC (rev 256)
@@ -352,7 +352,6 @@
{
assert(hp != NULL);
- VSL(SLT_Debug, fd, "%s s %p t %p v %p", __func__, hp->s, hp->t, hp->v);
assert(hp->t == hp->s || hp->t == hp->v); /* XXX pipelining */
hp->callback = func;
hp->arg = arg;
@@ -423,7 +422,8 @@
sbuf_cat(sb, hp->hdr[u]);
sbuf_cat(sb, "\r\n");
}
- if (resp != 3)
+ if (resp != 3) {
sbuf_cat(sb, "\r\n");
- sbuf_finish(sb);
+ sbuf_finish(sb);
+ }
}
More information about the varnish-commit
mailing list