]> err.no Git - varnish/commitdiff
Documentation for vcl_pipe and connection: close
authortfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 2 Mar 2009 12:01:33 +0000 (12:01 +0000)
committertfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 2 Mar 2009 12:01:33 +0000 (12:01 +0000)
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

index 048a5f99c7b66e62de35a9620c9cc7e1b70b43cb..2994dcd217b9453ad3b02b03f3b38eadfa222619 100644 (file)
@@ -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);
 }