From: phk Date: Thu, 6 Jul 2006 13:33:34 +0000 (+0000) Subject: Fix braino in Pass handling X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3aa0008bdeeb0216104caa0c0aaf8a83c3cb0685;p=varnish Fix braino in Pass handling git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@352 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- 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))