From 3aa0008bdeeb0216104caa0c0aaf8a83c3cb0685 Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 6 Jul 2006 13:33:34 +0000 Subject: [PATCH] Fix braino in Pass handling git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@352 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_pass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishd/cache_pass.c b/varnish-cache/bin/varnishd/cache_pass.c index a7df2b34..9f42b009 100644 --- a/varnish-cache/bin/varnishd/cache_pass.c +++ b/varnish-cache/bin/varnishd/cache_pass.c @@ -175,7 +175,7 @@ PassSession(struct worker *w, struct sess *sp) event_base_loop(w->eb, 0); http_Dissect(hp, fd, 2); - http_BuildSbuf(sp->fd, 2, w->sb, hp); + http_BuildSbuf(sp->fd, Build_Reply, w->sb, hp); vca_write(sp, sbuf_data(w->sb), sbuf_len(w->sb)); if (http_GetHdr(hp, "Content-Length", &b)) -- 2.39.5