/*
- * $Id: ACLChecklist.cc,v 1.39 2007/06/17 21:39:49 hno Exp $
+ * $Id: ACLChecklist.cc,v 1.40 2007/07/19 00:35:27 hno Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
" async set to " << async_);
}
-void
-ACLChecklist::markDeleteWhenDone()
-{
- deleteWhenDone = true;
-}
-
bool
ACLChecklist::finished() const
{
continue;
}
- if (deleteWhenDone && !asyncInProgress())
- delete this;
-
PROF_stop(aclMatchAclList);
return;
conn_(NULL),
async_(false),
finished_(false),
- deleteWhenDone(false),
allow_(ACCESS_DENIED),
state_(NullState::Instance()),
destinationDomainChecked_(false),
/*
- * $Id: ACLChecklist.h,v 1.25 2007/06/17 21:39:49 hno Exp $
+ * $Id: ACLChecklist.h,v 1.26 2007/07/19 00:35:27 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
bool asyncInProgress() const;
void asyncInProgress(bool const);
- void markDeleteWhenDone();
bool finished() const;
void markFinished();
void check();
ConnStateData::Pointer conn_; /* hack for ident and NTLM */
bool async_;
bool finished_;
- bool deleteWhenDone;
allow_t allow_;
AsyncState *state_;
bool destinationDomainChecked_;
/*
- * $Id: client_side_request.cc,v 1.90 2007/06/02 11:50:32 hno Exp $
+ * $Id: client_side_request.cc,v 1.91 2007/07/19 00:35:27 hno Exp $
*
* DEBUG: section 85 Client-side Request Routines
* AUTHOR: Robert Collins (Originally Duane Wessels in client_side.c)
if (http)
cbdataReferenceDone(http);
- if (acl_checklist) {
- if (acl_checklist->asyncInProgress()) {
- acl_checklist->markDeleteWhenDone();
- } else {
- delete acl_checklist;
- }
- }
-
debugs(85,3, HERE << this << " ClientRequestContext destructed");
}