]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #573: acl failure on concurrent external_acl lookups for the same key
authorhno <>
Thu, 20 Mar 2003 01:03:04 +0000 (01:03 +0000)
committerhno <>
Thu, 20 Mar 2003 01:03:04 +0000 (01:03 +0000)
src/external_acl.cc

index 00d21096f922e1e315d39c6d78d700f29699a412..3846e3def4d9ae2893ad59b3457d245922945167 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: external_acl.cc,v 1.34 2003/03/06 06:21:37 robertc Exp $
+ * $Id: external_acl.cc,v 1.35 2003/03/19 18:03:04 hno Exp $
  *
  * DEBUG: section 82    External ACL
  * AUTHOR: Henrik Nordstrom, MARA Systems AB
@@ -531,7 +531,7 @@ aclMatchExternal(external_acl_data *acl, ACLChecklist * ch)
         ch->auth_user_request = NULL;
     }
 
-    if (!entry) {
+    if (!entry || entry->result == -1) {
         debug(82, 2) ("aclMatchExternal: %s(\"%s\") = lookup needed\n", acl->def->name, key);
         ch->changeState (ExternalACLLookup::Instance());
         return 0;