From: wessels <> Date: Wed, 22 Apr 1998 03:33:20 +0000 (+0000) Subject: update aclCheckFast(no_cache) comments X-Git-Tag: SQUID_3_0_PRE1~3473 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79a5187112babd394958d3a576504c12a4bb1d21;p=thirdparty%2Fsquid.git update aclCheckFast(no_cache) comments --- diff --git a/src/client_side.cc b/src/client_side.cc index d751bc5654..f7a5c2c5b8 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -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)