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:181
Definition: Acl.h:53
~clientReplyContext() override
Definition: client_side_reply.cc:59
void sendNotModifiedOrPreconditionFailedError()
Definition: client_side_reply.cc:1813
void createStoreEntry(const HttpRequestMethod &m, RequestFlags flags)
Definition: client_side_reply.cc:2065
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:2057
void sendStreamError(StoreIOBuffer const &result)
Definition: client_side_reply.cc:1719
void removeStoreReference(store_client **scp, StoreEntry **ep)
Definition: client_side_reply.cc:166
bool errorInStream(const StoreIOBuffer &result) const
Definition: client_side_reply.cc:1711
void requestMoreBodyFromStore()
Definition: client_side_reply.cc:250
CollapsedRevalidation collapsedRevalidation
Definition: client_side_reply.h:158
void sendPreconditionFailedError()
send 412 (Precondition Failed) to client
Definition: client_side_reply.cc:1769
void identifyFoundObject(StoreEntry *entry, const char *detail)
Definition: client_side_reply.cc:1504
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:872
Definition: RequestFlags.h:22
void sendMoreData(StoreIOBuffer result)
Definition: client_side_reply.cc:1951
void setReplyToReply(HttpReply *reply)
creates a store entry for the reply and appends error reply to it
Definition: client_side_reply.cc:133
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:152
void detailStoreLookup(const char *detail)
remembers the very first Store lookup classification, ignoring the rest
Definition: client_side_reply.cc:1583
static decltype(::storeClientCopy) storeClientCopy
Definition: client_side_reply.h:137
Definition: RequestMethod.h:26
void handleIMSReply(StoreIOBuffer result)
Definition: client_side_reply.cc:410
clientStream_status_t replyStatus()
Definition: client_side_reply.cc:1123
struct clientReplyContext::Flags flags
void sendBodyTooLargeError()
Definition: client_side_reply.cc:1756
Definition: SquidString.h:26
clientReplyContext(ClientHttpRequest *)
Definition: client_side_reply.cc:73
int storeOKTransferDone() const
Definition: client_side_reply.cc:1051
friend CSR clientGetMoreData
Definition: client_side_reply.h:164
bool matchesStreamBodyBuffer(const StoreIOBuffer &) const
Definition: client_side_reply.cc:2033
clientStreamNode * getNextNode() const
Definition: client_side_reply.cc:228
Definition: client_side_reply.h:22
enum Http::_method_t MethodType
LogTags * loggingTags() const override
Definition: client_side_reply.cc:897
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:849
bool processConditional()
process conditional request from client
Definition: client_side_reply.cc:795
int storeNotOKTransferDone() const
Definition: client_side_reply.cc:1066
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:94
bool alwaysAllowResponse(Http::StatusCode sline) const
Definition: client_side_reply.cc:1188
const char * storeLookupString(bool found) const
Definition: client_side_reply.h:124
void processOnlyIfCachedMiss()
Definition: client_side_reply.cc:783
bool purgeEntry(StoreEntry &, const Http::MethodType, const char *descriptionPrefix="")
Definition: client_side_reply.cc:990
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:1863
unsigned storelogiccomplete
Definition: client_side_reply.h:82
void triggerInitialStoreRead(STCB=SendMoreData)
Definition: client_side_reply.cc:237
void pushStreamData(const StoreIOBuffer &)
Definition: client_side_reply.cc:1736
void noteStreamBufferredBytes(const StoreIOBuffer &)
Definition: client_side_reply.cc:2050
void processReplyAccess()
Definition: client_side_reply.cc:1823
void sendClientUpstreamResponse(const StoreIOBuffer &upstreamResponse)
Definition: client_side_reply.cc:366
void identifyStoreObject()
Definition: client_side_reply.cc:1481
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