cache_manager.cc
Go to the documentation of this file.
164 debugs(16, 3, "MGR request: host=" << uri.host() << ", action=" << action << ", params=" << params);
194 debugs(16, DBG_IMPORTANT, "ERROR: CacheManager::ParseHeaders: unknown basic_cookie format '" << basic_cookie << "'");
246 CacheManager::start(const Comm::ConnectionPointer &client, HttpRequest *request, StoreEntry *entry, const AccessLogEntry::Pointer &ale)
static void PutCommonResponseHeaders(HttpReply &, const char *httpOrigin)
Definition: cache_manager.cc:401
Mgr::Action::Pointer createNamedAction(const char *actionName)
Definition: cache_manager.cc:84
Definition: HttpHdrCc.h:43
void errorAppendEntry(StoreEntry *entry, ErrorState *err)
Definition: errorpage.cc:738
combined hard-coded action profile with user-supplied action parameters
Definition: Command.h:21
CharacterSet complement(const char *complementLabel=nullptr) const
Definition: CharacterSet.cc:74
bool IamWorkerProcess()
whether the current process handles HTTP transactions and such
Definition: stub_tools.cc:47
void replaceHttpReply(const HttpReplyPointer &, const bool andStartWriting=true)
Definition: store.cc:1705
int CheckPassword(const Mgr::Command &cmd)
Definition: cache_manager.cc:216
const char * ActionProtection(const Mgr::ActionProfilePointer &profile)
Definition: cache_manager.cc:359
Definition: HttpRequest.h:48
static const SBuf & WellKnownUrlPathPrefix()
initial URL path characters that identify cache manager requests
Definition: cache_manager.cc:107
char * PasswdGet(Mgr::ActionPasswordList *, const char *)
Definition: cache_manager.cc:382
void start(const Comm::ConnectionPointer &client, HttpRequest *request, StoreEntry *entry, const AccessLogEntryPointer &ale)
Definition: cache_manager.cc:246
void RegisterBasics()
Registers profiles for the actions above; TODO: move elsewhere?
Definition: BasicActions.cc:150
void putAuth(const char *auth_scheme, const char *realm)
Definition: HttpHeader.cc:1004
void set(const AnyP::ProtocolVersion &newVersion, Http::StatusCode newStatus, const char *newReason=nullptr)
Definition: StatusLine.cc:35
SBuf getAuthToken(Http::HdrType id, const char *auth_scheme) const
Definition: HttpHeader.cc:1275
Definition: SquidString.h:25
Mgr::Action::Pointer createRequestedAction(const Mgr::ActionParams &)
Definition: cache_manager.cc:97
void ParseHeaders(const HttpRequest *request, Mgr::ActionParams ¶ms)
Definition: cache_manager.cc:176
std::ostream & CurrentException(std::ostream &os)
prints active (i.e., thrown but not yet handled) exception
Definition: TextException.cc:88
Definition: Tokenizer.h:29
static void Parse(Parser::Tokenizer &, QueryParams &)
parses the query string parameters
Definition: QueryParams.cc:112
Mgr::CommandPointer ParseUrl(const AnyP::Uri &)
Definition: cache_manager.cc:126
Definition: HttpReply.h:24
Definition: Store.h:37
Definition: parse.c:160
Cache Manager Action parameters extracted from the user request.
Definition: ActionParams.h:23
void registerProfile(const Mgr::ActionProfilePointer &)
remembers the given profile while ignoring attempts to register a same-name duplicate
Definition: cache_manager.cc:48
list of cachemgr password authorization definitions. Currently a POD.
Definition: ActionPasswordList.h:18
SBuf ToSBuf(Args &&... args)
slowly stream-prints all arguments into a freshly allocated SBuf
Definition: Stream.h:63
Definition: CacheManager.h:32
optimized set of C chars, with quick membership test and merge support
Definition: CharacterSet.h:17
Definition: errorpage.h:88
Mgr::ActionProfilePointer findAction(char const *action) const
Definition: cache_manager.cc:66
bool UsingSmp()
Whether there should be more than one worker process running.
Definition: tools.cc:696
Definition: Forwarder.h:31
Definition: ExceptionErrorDetail.h:22
AnyP::ProtocolVersion ProtocolVersion(unsigned int aMajor, unsigned int aMinor)
HTTP version label information.
Definition: ProtocolVersion.h:19
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