r2611 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Mon Mar 31 09:03:03 CEST 2008


Author: phk
Date: 2008-03-31 09:03:02 +0200 (Mon, 31 Mar 2008)
New Revision: 2611

Modified:
   trunk/varnish-cache/bin/varnishd/mgt_vcc.c
Log:
I'm amazed that we have been able to spell "Authorization" as
"Authentication" for this long without anybody noticing until now.

Mea Culpa.



Modified: trunk/varnish-cache/bin/varnishd/mgt_vcc.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_vcc.c	2008-03-25 05:47:55 UTC (rev 2610)
+++ trunk/varnish-cache/bin/varnishd/mgt_vcc.c	2008-03-31 07:03:02 UTC (rev 2611)
@@ -97,7 +97,7 @@
     "        /* We only deal with GET and HEAD by default */\n"
     "        pass;\n"
     "    }\n"
-    "    if (req.http.Authenticate || req.http.Cookie) {\n"
+    "    if (req.http.Authorization || req.http.Cookie) {\n"
     "        /* Not cacheable by default */\n"
     "        pass;\n"
     "    }\n"




More information about the varnish-commit mailing list