r3971 - branches/2.0/varnish-cache/bin/varnishd

tfheen at projects.linpro.no tfheen at projects.linpro.no
Fri Mar 20 15:17:53 CET 2009


Author: tfheen
Date: 2009-03-20 15:17:53 +0100 (Fri, 20 Mar 2009)
New Revision: 3971

Modified:
   branches/2.0/varnish-cache/bin/varnishd/default.vcl
Log:
Merge r3852: Documentation for vcl_pipe and connection: close

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



Modified: branches/2.0/varnish-cache/bin/varnishd/default.vcl
===================================================================
--- branches/2.0/varnish-cache/bin/varnishd/default.vcl	2009-03-20 14:11:12 UTC (rev 3970)
+++ branches/2.0/varnish-cache/bin/varnishd/default.vcl	2009-03-20 14:17:53 UTC (rev 3971)
@@ -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