Iterator.cc
Go to the documentation of this file.
58 if (Adaptation::Config::needHistory && !thePlan.exhausted() && (dynamic_cast<ServiceSet *>(theGroup.getRaw()) || dynamic_cast<ServiceChain *>(theGroup.getRaw()))) {
Definition: Initiate.h:30
Definition: AsyncJob.h:31
a temporary service chain built upon another service request
Definition: ServiceGroups.h:110
information used to search for adaptation services
Definition: ServiceFilter.h:22
Iterator(Http::Message *virginHeader, HttpRequest *virginCause, const AccessLogEntryPointer &, const Adaptation::ServiceGroupPointer &aGroup)
Definition: Iterator.cc:22
void noteAdaptationAnswer(const Answer &answer) override
Definition: Iterator.cc:115
DynamicServiceGroup configuration to remember future dynamic chains.
Definition: DynamicGroupCfg.h:20
void handleAdaptationError(bool final)
Definition: Iterator.cc:175
#define TexcHere(msg)
legacy convenience macro; it is not difficult to type Here() now
Definition: TextException.h:63
Definition: HttpRequest.h:48
bool extractNextServices(String &value)
returns true, fills the value, and resets iff next services were set
Definition: History.cc:130
iterates services in ServiceGroup, starting adaptation launchers
Definition: Iterator.h:31
static int service_iteration_limit
Definition: Config.h:46
SBuf StringToSBuf(const String &s)
create a new SBuf from a String by copying contents
Definition: StringConvert.h:17
void handleAdaptationBlock(const Answer &answer)
Definition: Iterator.cc:166
Definition: SquidString.h:25
bool updatePlan(bool adopt)
replace the current group and plan with service-proposed ones if needed
Definition: Iterator.cc:226
summarizes adaptation service answer for the noteAdaptationAnswer() API
Definition: Answer.h:24
Adaptation::History::Pointer adaptHistory(bool createIfNone=false) const
Returns possibly nil history, creating it if requested.
Definition: HttpRequest.cc:404
static void Split(const ServiceFilter &filter, const String &ids, DynamicGroupCfg ¤t, DynamicGroupCfg &future)
separates dynamic services matching current location from future ones
Definition: ServiceGroups.cc:243
Definition: HttpReply.h:24
a group of services that must be used one after another
Definition: ServiceGroups.h:99
CBDATA_NAMESPACED_CLASS_INIT(Adaptation, Iterator)
Definition: ServiceGroups.h:77
Definition: ServiceGroups.h:122
void recordAdaptationService(SBuf &srvId)
Definition: History.cc:150
void setFutureServices(const DynamicGroupCfg &services)
sets future services for the Adaptation::AccessCheck to notice
Definition: History.cc:156
virtual Initiate * makeXactLauncher(Http::Message *virginHeader, HttpRequest *virginCause, AccessLogEntry::Pointer &alp)=0
void handleAdaptedHeader(Http::Message *msg)
Definition: Iterator.cc:133
Definition: AccessCheck.h:24
void noteInitiatorAborted() override
Definition: Iterator.cc:159
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