Inquirer.cc
Go to the documentation of this file.
37 Ipc::Inquirer(aCause.clone(), applyQueryParams(coords, aCause.params.queryParams), anAction->atomic() ? 10 : 100),
91 reply->setHeaders(Http::scOkay, nullptr, aggrAction->contentType(), -1, squid_curtime, squid_curtime);
AsyncCall::Pointer comm_add_close_handler(int fd, CLCB *handler, void *data)
Definition: comm.cc:952
void noteWroteHeader(const CommIoCbParams ¶ms)
called when we wrote the response header
Definition: Inquirer.cc:103
static void PutCommonResponseHeaders(HttpReply &, const char *httpOrigin)
Definition: cache_manager.cc:401
Inquirer(Action::Pointer anAction, const Request &aCause, const Ipc::StrandCoords &coords)
Definition: Inquirer.cc:35
QueryParam::Pointer get(const String &name) const
returns query parameter by name
Definition: QueryParams.cc:23
RefCount< AsyncCallT< Dialer > > asyncCall(int aDebugSection, int aDebugLevel, const char *aName, const Dialer &aDialer)
Definition: AsyncCall.h:156
void noteCommClosed(const CommCloseCbParams ¶ms)
called when the HTTP client or some external force closed our socket
Definition: Inquirer.cc:116
CBDATA_NAMESPACED_CLASS_INIT(Mgr, Inquirer)
Ipc::StrandCoords applyQueryParams(const Ipc::StrandCoords &aStrands, const QueryParams &aParams)
Definition: Inquirer.cc:153
Definition: CommCalls.h:113
Definition: Response.h:23
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: CommCalls.h:165
void Write(const Comm::ConnectionPointer &conn, const char *buf, int size, AsyncCall::Pointer &callback, FREE *free_func)
Definition: Write.cc:33
Definition: HttpReply.h:24
Definition: ActionWriter.h:22
Definition: QueryParams.h:25
static HttpRequest * FromUrlXXX(const char *url, const MasterXaction::Pointer &, const HttpRequestMethod &method=Http::METHOD_GET)
Definition: HttpRequest.cc:528
std::vector< StrandCoord > StrandCoords
a collection of strand coordinates; the order, if any, is owner-dependent
Definition: StrandCoords.h:19
Definition: CommCalls.h:127
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
Definition: errorpage.h:88
void setHeaders(Http::StatusCode status, const char *reason, const char *ctype, int64_t clen, time_t lmt, time_t expires)
Definition: HttpReply.cc:170
Definition: Inquirer.h:26
Definition: IntParam.h:22
void comm_remove_close_handler(int fd, CLCB *handler, void *data)
Definition: comm.cc:981
Definition: IpcIoFile.h:23
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products