]> granicus.if.org Git - apache/commitdiff
not sure how that got in there
authorEdward Lu <elu@apache.org>
Mon, 21 Sep 2015 19:19:54 +0000 (19:19 +0000)
committerEdward Lu <elu@apache.org>
Mon, 21 Sep 2015 19:19:54 +0000 (19:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1704395 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/mod_cache.c

index eb70b48eaefb50dadb384822b03b73b033ca5e7b..0ab6e3146bf1cec34e66b56cfcb08f47effc563a 100644 (file)
@@ -122,10 +122,12 @@ static int cache_quick_handler(request_rec *r, int lookup)
         return DECLINED;
     }
 
-    /* Since we're in the quick handler, authorization will not have been
-     * processed through normal channels yet. Just decline the request if
-     * it's trying to authorize. */
+    /* find certain cache controlling headers */
     auth = apr_table_get(r->headers_in, "Authorization");
+
+    /* First things first - does the request allow us to return
+     * cached information at all? If not, just decline the request.
+     */
     if (auth) {
         return DECLINED;
     }