]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/mgr/Filler.cc
2 * Copyright (C) 1996-2019 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.
9 /* DEBUG: section 16 Cache Manager API */
12 #include "base/TextException.h"
13 #include "comm/Connection.h"
14 #include "mgr/Filler.h"
15 #include "mgr/Response.h"
18 CBDATA_NAMESPACED_CLASS_INIT(Mgr
, Filler
);
20 Mgr::Filler::Filler(const Action::Pointer
&anAction
, const Comm::ConnectionPointer
&conn
,
21 unsigned int aRequestId
):
22 StoreToCommWriter(conn
, anAction
->createStoreEntry()),
26 debugs(16, 5, HERE
<< conn
<< " action: " << action
);
36 StoreToCommWriter::start();
37 action
->run(entry
, false);
41 Mgr::Filler::swanSong()
44 action
->sendResponse(requestId
);
45 StoreToCommWriter::swanSong();