From: phk Date: Sun, 18 Jun 2006 10:04:09 +0000 (+0000) Subject: Pass if we spot an Authenticate or Cookie header X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=012342eddd458c565693aad2a86ccb4b457c2908;p=varnish Pass if we spot an Authenticate or Cookie header git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@201 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/varnishd.c b/varnish-cache/bin/varnishd/varnishd.c index 60638649..85f687f3 100644 --- a/varnish-cache/bin/varnishd/varnishd.c +++ b/varnish-cache/bin/varnishd/varnishd.c @@ -83,6 +83,9 @@ vcl_default(const char *bflag) " if (req.request != \"GET\" && req.request != \"HEAD\") {\n" " pass;\n" " }\n" + " if (req.http.Authenticate || req.http.Cookie) {\n" + " pass;\n" + " }\n" " lookup;\n" "}\n" "\n"