]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #1174: acl based access logging causes assertion failure "!finished() && !asyncIn...
authorhno <>
Mon, 27 Dec 2004 22:57:15 +0000 (22:57 +0000)
committerhno <>
Mon, 27 Dec 2004 22:57:15 +0000 (22:57 +0000)
src/ACLChecklist.cc

index 477bdfa70cd52fee1c5fe3d54c8058f07540c89a..bcb2499a506902a4360547107669122baa020f93 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ACLChecklist.cc,v 1.24 2004/12/24 01:14:23 hno Exp $
+ * $Id: ACLChecklist.cc,v 1.25 2004/12/27 15:57:15 hno Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
@@ -242,6 +242,8 @@ ACLChecklist::matchAclList(const acl_list * head, bool const fast)
     PROF_start(aclMatchAclList);
     const acl_list *node = head;
 
+    finished_ = false;
+
     while (node) {
         bool nodeMatched = node->matches(this);
 
@@ -249,7 +251,6 @@ ACLChecklist::matchAclList(const acl_list * head, bool const fast)
             changeState(NullState::Instance());
 
         if (!nodeMatched || state_ != NullState::Instance()) {
-            finished_ = false;
             debug(28, 3) ("aclmatchAclList: %p returning false (AND list entry failed to match)\n", this);
             checkForAsync();
             PROF_stop(aclMatchAclList);