]> err.no Git - varnish/commitdiff
Don't filter headers in Pipe mode
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 7 Jul 2006 07:22:34 +0000 (07:22 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 7 Jul 2006 07:22:34 +0000 (07:22 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@370 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_http.c

index 2316ac86e53498401784b1cd34040b3ba22bed80..bbb64e1c4ffa1433e76e67a573691010941a507b 100644 (file)
@@ -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, " ");