Inquirer.cc
Go to the documentation of this file.
37 Ipc::Inquirer(aCause.clone(), applyQueryParams(coords, aCause.params.queryParams), anAction->atomic() ? 10 : 100),
RefCount< AsyncCallT< Dialer > > asyncCall(int aDebugSection, int aDebugLevel, const char *aName, const Dialer &aDialer)
Definition: AsyncCall.h:156
static void PutCommonResponseHeaders(HttpReply &, const char *httpOrigin)
Definition: cache_manager.cc:451
Definition: CommCalls.h:166
Definition: CommCalls.h:128
Definition: CommCalls.h:114
Definition: errorpage.h:89
Definition: HttpReply.h:25
static HttpRequest * FromUrlXXX(const char *url, const MasterXaction::Pointer &, const HttpRequestMethod &method=Http::METHOD_GET)
Definition: HttpRequest.cc:528
Definition: ActionWriter.h:23
Definition: Inquirer.h:27
void noteCommClosed(const CommCloseCbParams ¶ms)
called when the HTTP client or some external force closed our socket
Definition: Inquirer.cc:116
Ipc::StrandCoords applyQueryParams(const Ipc::StrandCoords &aStrands, const QueryParams &aParams)
Definition: Inquirer.cc:153
void noteWroteHeader(const CommIoCbParams ¶ms)
called when we wrote the response header
Definition: Inquirer.cc:103
Inquirer(Action::Pointer anAction, const Request &aCause, const Ipc::StrandCoords &coords)
Definition: Inquirer.cc:35
void cleanup() override
closes our copy of the client HTTP connection socket
Definition: Inquirer.cc:52
bool aggregate(Ipc::Response::Pointer aResponse) override
perform aggregating of responses and returns true if need to continue
Definition: Inquirer.cc:128
Definition: IntParam.h:23
Definition: QueryParams.h:26
QueryParam::Pointer get(const String &name) const
returns query parameter by name
Definition: QueryParams.cc:23
Definition: Response.h:24
AsyncCall::Pointer comm_add_close_handler(int fd, CLCB *handler, void *data)
Definition: comm.cc:949
void comm_remove_close_handler(int fd, CLCB *handler, void *data)
Definition: comm.cc:978
CBDATA_NAMESPACED_CLASS_INIT(Mgr, Inquirer)
void Write(const Comm::ConnectionPointer &conn, const char *buf, int size, AsyncCall::Pointer &callback, FREE *free_func)
Definition: Write.cc:33
Definition: IpcIoFile.h:24
const Comm::ConnectionPointer & ImportFdIntoComm(const Comm::ConnectionPointer &conn, int socktype, int protocol, FdNoteId noteId)
import socket fd from another strand into our Comm state
Definition: UdsOp.cc:194
std::vector< StrandCoord > StrandCoords
a collection of strand coordinates; the order, if any, is owner-dependent
Definition: StrandCoords.h:19