From: Amos Jeffries Date: Sun, 29 May 2011 12:14:42 +0000 (+1200) Subject: Bug 3226: Tags from external ACLs do not correctly expire X-Git-Tag: take08~55^2~164 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dc1839a55aa7eabc40eb974f70bd9a1d761231bc;p=thirdparty%2Fsquid.git Bug 3226: Tags from external ACLs do not correctly expire --- diff --git a/src/external_acl.cc b/src/external_acl.cc index c661e5de7f..516404da4e 100644 --- a/src/external_acl.cc +++ b/src/external_acl.cc @@ -800,12 +800,9 @@ aclMatchExternal(external_acl_data *acl, ACLFilledChecklist *ch) if (acl->def->theHelper->stats.queue_size <= (int)acl->def->theHelper->childs.n_active) { debugs(82, 2, "aclMatchExternal: \"" << key << "\": queueing a call."); - ch->changeState (ExternalACLLookup::Instance()); - - if (entry == NULL) { - debugs(82, 2, "aclMatchExternal: \"" << key << "\": return -1."); - return -1; - } + ch->changeState(ExternalACLLookup::Instance()); + debugs(82, 2, "aclMatchExternal: \"" << key << "\": return -1."); + return -1; // to get here we have to have an expired cache entry. MUST not use. } else { if (!entry) { debugs(82, 1, "aclMatchExternal: '" << acl->def->name <<