From: tfheen Date: Mon, 2 Mar 2009 12:01:33 +0000 (+0000) Subject: Documentation for vcl_pipe and connection: close X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc8ed80ca9416657ddf329c91c2a75aebf2218ee;p=varnish 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 --- 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); }