r3852 - trunk/varnish-cache/bin/varnishd

tfheen at projects.linpro.no tfheen at projects.linpro.no
Mon Mar 2 13:01:33 CET 2009


Author: tfheen
Date: 2009-03-02 13:01:33 +0100 (Mon, 02 Mar 2009)
New Revision: 3852

Modified:
   trunk/varnish-cache/bin/varnishd/default.vcl
Log:
Documentation for vcl_pipe and connection: close

Note in the default VCL that connection: close might be wanted.


Modified: trunk/varnish-cache/bin/varnishd/default.vcl
===================================================================
--- trunk/varnish-cache/bin/varnishd/default.vcl	2009-03-02 12:01:30 UTC (rev 3851)
+++ trunk/varnish-cache/bin/varnishd/default.vcl	2009-03-02 12:01:33 UTC (rev 3852)
@@ -62,6 +62,12 @@
 }
 
 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);
 }
 



More information about the varnish-commit mailing list