]> git.pld-linux.org Git - packages/squid.git/blob - squid-2.5.STABLE2-aclregression.patch
- grant stats user (statistics generators) access to squid logs
[packages/squid.git] / squid-2.5.STABLE2-aclregression.patch
1 Index: squid/src/acl.c
2 diff -c squid/src/acl.c:1.270.2.16 squid/src/acl.c:1.270.2.17
3 *** squid/src/acl.c:1.270.2.16  Sat May 10 16:17:44 2003
4 --- squid/src/acl.c     Mon May 12 01:24:37 2003
5 ***************
6 *** 1698,1707 ****
7 --- 1698,1712 ----
8         debug(28, 3) ("aclMatchAclList: checking %s%s\n",
9             list->op ? null_string : "!", list->acl->name);
10         answer = aclMatchAcl(list->acl, checklist);
11 + #if NOT_SURE_THIS_IS_GOOD
12 +       /* This will make access denied if an acl cannot be evaluated.
13 +        * Normally Squid will just continue to the next rule
14 +        */
15         if (answer < 0) {
16             debug(28, 3) ("aclMatchAclList: failure. returning -1\n");
17             return -1;
18         }
19 + #endif
20         if (answer != list->op) {
21             debug(28, 3) ("aclMatchAclList: no match, returning 0\n");
22             return 0;
This page took 0.0253 seconds and 3 git commands to generate.