]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/CachePeer.cc
fd1a4face5d6da89ccae9df2c2f5a48c3ea97bb9
2 * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
10 #include "acl/Gadgets.h"
11 #include "CachePeer.h"
13 #include "NeighborTypeDomainList.h"
15 #include "PeerPoolMgr.h"
17 CBDATA_CLASS_INIT(CachePeer
);
19 CachePeer::~CachePeer()
24 while (NeighborTypeDomainList
*l
= typelist
) {
30 aclDestroyAccessList(&access
);
33 cbdataReferenceDone(digest
);
43 // the mgr job will notice that its owner is gone and stop
44 PeerPoolMgr::Checkpoint(standby
.mgr
, "peer gone");