r201 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Sun Jun 18 12:04:09 CEST 2006


Author: phk
Date: 2006-06-18 12:04:09 +0200 (Sun, 18 Jun 2006)
New Revision: 201

Modified:
   trunk/varnish-cache/bin/varnishd/varnishd.c
Log:
Pass if we spot an Authenticate or Cookie header


Modified: trunk/varnish-cache/bin/varnishd/varnishd.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/varnishd.c	2006-06-18 10:03:43 UTC (rev 200)
+++ trunk/varnish-cache/bin/varnishd/varnishd.c	2006-06-18 10:04:09 UTC (rev 201)
@@ -83,6 +83,9 @@
 	    "    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"




More information about the varnish-commit mailing list