From dc8ed80ca9416657ddf329c91c2a75aebf2218ee Mon Sep 17 00:00:00 2001 From: tfheen Date: Mon, 2 Mar 2009 12:01:33 +0000 Subject: [PATCH] Documentation for vcl_pipe and connection: close Note in the default VCL that connection: close might be wanted. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3852 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/default.vcl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/varnish-cache/bin/varnishd/default.vcl b/varnish-cache/bin/varnishd/default.vcl index 048a5f99..2994dcd2 100644 --- a/varnish-cache/bin/varnishd/default.vcl +++ b/varnish-cache/bin/varnishd/default.vcl @@ -62,6 +62,12 @@ sub vcl_recv { } sub vcl_pipe { + # Note that only the first request to the backend will have + # X-Forwarded-For set. If you use X-Forwarded-For and want to + # have it set for all requests, make sure to have: + # set req.http.connection = "close"; + # here. It is not set by default as it might break some broken web + # applications, like IIS with NTLM authentication. return (pipe); } -- 2.39.5