client_side_reply.h
Go to the documentation of this file.
45 void setReplyToError(err_type, Http::StatusCode, char const *, const ConnStateData *, HttpRequest *, const char *,
Definition: LogTags.h:69
Definition: FilledChecklist.h:33
void removeClientStoreReference(store_client **scp, ClientHttpRequest *http)
Definition: client_side_reply.cc:180
Definition: Acl.h:53
~clientReplyContext() override
Definition: client_side_reply.cc:58
void sendNotModifiedOrPreconditionFailedError()
Definition: client_side_reply.cc:1812
void createStoreEntry(const HttpRequestMethod &m, RequestFlags flags)
Definition: client_side_reply.cc:2064
Definition: client_side_reply.h:79
void fillChecklist(ACLFilledChecklist &) const override
configure the given checklist (to reflect the current transaction state)
Definition: client_side_reply.cc:2056
void sendStreamError(StoreIOBuffer const &result)
Definition: client_side_reply.cc:1718
void removeStoreReference(store_client **scp, StoreEntry **ep)
Definition: client_side_reply.cc:165
bool errorInStream(const StoreIOBuffer &result) const
Definition: client_side_reply.cc:1710
void requestMoreBodyFromStore()
Definition: client_side_reply.cc:249
CollapsedRevalidation collapsedRevalidation
Definition: client_side_reply.h:158
void sendPreconditionFailedError()
send 412 (Precondition Failed) to client
Definition: client_side_reply.cc:1768
void identifyFoundObject(StoreEntry *entry, const char *detail)
Definition: client_side_reply.cc:1503
Definition: clientStream.h:75
Definition: HttpRequest.h:48
Definition: StoreIOBuffer.h:15
void CSR(clientStreamNode *, ClientHttpRequest *)
client stream read
Definition: clientStreamForward.h:30
Definition: client_side_request.h:30
void purgeEntriesByUrl(HttpRequest *, const char *)
Definition: client_side_reply.cc:871
Definition: RequestFlags.h:22
void sendMoreData(StoreIOBuffer result)
Definition: client_side_reply.cc:1950
void setReplyToReply(HttpReply *reply)
creates a store entry for the reply and appends error reply to it
Definition: client_side_reply.cc:132
Definition: client_side.h:79
void setReplyToStoreEntry(StoreEntry *e, const char *reason)
replaces current response store entry with the given one
Definition: client_side_reply.cc:151
void detailStoreLookup(const char *detail)
remembers the very first Store lookup classification, ignoring the rest
Definition: client_side_reply.cc:1582
static decltype(::storeClientCopy) storeClientCopy
Definition: client_side_reply.h:137
Definition: RequestMethod.h:26
void handleIMSReply(StoreIOBuffer result)
Definition: client_side_reply.cc:409
clientStream_status_t replyStatus()
Definition: client_side_reply.cc:1122
struct clientReplyContext::Flags flags
void sendBodyTooLargeError()
Definition: client_side_reply.cc:1755
Definition: SquidString.h:25
clientReplyContext(ClientHttpRequest *)
Definition: client_side_reply.cc:72
int storeOKTransferDone() const
Definition: client_side_reply.cc:1050
friend CSR clientGetMoreData
Definition: client_side_reply.h:164
bool matchesStreamBodyBuffer(const StoreIOBuffer &) const
Definition: client_side_reply.cc:2032
clientStreamNode * getNextNode() const
Definition: client_side_reply.cc:227
Definition: client_side_reply.h:22
enum Http::_method_t MethodType
LogTags * loggingTags() const override
Definition: client_side_reply.cc:896
Definition: HttpReply.h:24
Definition: Store.h:37
bool blockedHit() const
whether squid.conf send_hit prevents us from serving this hit
Definition: client_side_reply.cc:848
bool processConditional()
process conditional request from client
Definition: client_side_reply.cc:794
int storeNotOKTransferDone() const
Definition: client_side_reply.cc:1065
StoreIOBuffer lastStreamBufferedBytes
HTTP response body bytes stored in our Client Stream buffer (if any)
Definition: client_side_reply.h:161
Definition: StoreClient.h:73
void setReplyToError(err_type, Http::StatusCode, char const *, const ConnStateData *, HttpRequest *, const char *, Auth::UserRequest::Pointer)
builds error using clientBuildError() and calls setReplyToError() below
Definition: client_side_reply.cc:93
bool alwaysAllowResponse(Http::StatusCode sline) const
Definition: client_side_reply.cc:1187
const char * storeLookupString(bool found) const
Definition: client_side_reply.h:124
void processOnlyIfCachedMiss()
Definition: client_side_reply.cc:782
bool purgeEntry(StoreEntry &, const Http::MethodType, const char *descriptionPrefix="")
Definition: client_side_reply.cc:989
const char * firstStoreLookup_
Definition: client_side_reply.h:142
Definition: errorpage.h:88
static ACLCB ProcessReplyAccessResult
Definition: client_side_reply.h:101
void processReplyAccessResult(const Acl::Answer &accessAllowed)
Definition: client_side_reply.cc:1862
unsigned storelogiccomplete
Definition: client_side_reply.h:82
void triggerInitialStoreRead(STCB=SendMoreData)
Definition: client_side_reply.cc:236
void pushStreamData(const StoreIOBuffer &)
Definition: client_side_reply.cc:1735
void noteStreamBufferredBytes(const StoreIOBuffer &)
Definition: client_side_reply.cc:2049
void processReplyAccess()
Definition: client_side_reply.cc:1822
void sendClientUpstreamResponse(const StoreIOBuffer &upstreamResponse)
Definition: client_side_reply.cc:365
void identifyStoreObject()
Definition: client_side_reply.cc:1480
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