]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
update aclCheckFast(no_cache) comments
authorwessels <>
Wed, 22 Apr 1998 03:33:20 +0000 (03:33 +0000)
committerwessels <>
Wed, 22 Apr 1998 03:33:20 +0000 (03:33 +0000)
src/client_side.cc

index d751bc5654f6d59104136475946b51b5bf6dc997..f7a5c2c5b8944e26bc0f41d49710df0e9908e036 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side.cc,v 1.281 1998/04/21 21:28:13 rousskov Exp $
+ * $Id: client_side.cc,v 1.282 1998/04/21 21:33:20 wessels Exp $
  *
  * DEBUG: section 33    Client-side Routines
  * AUTHOR: Duane Wessels
@@ -847,7 +847,11 @@ clientCachable(clientHttpRequest * http)
      */
     ch.src_addr = http->conn->peer.sin_addr;
     ch.request = http->request;
-    /* aclCheckFast returns 0 if there is a match with "no_cache deny" acl */
+    /*
+     * aclCheckFast returns 1 for ALLOW and 0 for DENY.  The default
+     * is ALLOW, so we require 'no_cache DENY foo' in squid.conf
+     * to indicate uncachable objects.
+     */
     if (!aclCheckFast(Config.accessList.noCache, &ch))
            return 0;
     if (Config.cache_stop_relist)