From: phk Date: Fri, 7 Jul 2006 07:22:34 +0000 (+0000) Subject: Don't filter headers in Pipe mode X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b411e9a775f1148b02b115c4b5b3a00b1d7c72c;p=varnish Don't filter headers in Pipe mode git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@370 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_http.c b/varnish-cache/bin/varnishd/cache_http.c index 2316ac86..bbb64e1c 100644 --- a/varnish-cache/bin/varnishd/cache_http.c +++ b/varnish-cache/bin/varnishd/cache_http.c @@ -478,6 +478,13 @@ http_BuildSbuf(int fd, enum http_build mode, struct sbuf *sb, struct http *hp) sup = 2; break; case Build_Pipe: + sbuf_cat(sb, hp->req); + sbuf_cat(sb, " "); + sbuf_cat(sb, hp->url); + sbuf_cat(sb, " "); + sbuf_cat(sb, hp->proto); + sup = 0; + break; case Build_Pass: sbuf_cat(sb, hp->req); sbuf_cat(sb, " ");