client_side_reply.h
Go to the documentation of this file.
46 void setReplyToError(err_type, Http::StatusCode, char const *, const ConnStateData *, HttpRequest *, const char *,
64 const char *storeId() const { return (http->store_id.size() > 0 ? http->store_id.termedBuf() : http->uri); }
#define RefCountable
The locking interface for use on Reference-Counted classes.
Definition: Lock.h:66
Definition: FilledChecklist.h:33
Definition: Acl.h:128
Definition: client_side_request.h:38
Definition: client_side.h:84
Definition: errorpage.h:89
Definition: HttpReply.h:25
Definition: RequestMethod.h:27
Definition: HttpRequest.h:49
Definition: LogTags.h:67
Definition: RequestFlags.h:23
Definition: Store.h:42
Definition: StoreIOBuffer.h:16
Definition: SquidString.h:26
Definition: client_side_reply.h:23
void handleIMSReply(StoreIOBuffer result)
Definition: client_side_reply.cc:419
void sendNotModifiedOrPreconditionFailedError()
Definition: client_side_reply.cc:1875
void setReplyToReply(HttpReply *reply)
creates a store entry for the reply and appends error reply to it
Definition: client_side_reply.cc:138
void traceReply(clientStreamNode *node)
Definition: client_side_reply.cc:1021
static ACLCB ProcessReplyAccessResult
Definition: client_side_reply.h:102
bool alwaysAllowResponse(Http::StatusCode sline) const
Definition: client_side_reply.cc:1220
void sendPreconditionFailedError()
send 412 (Precondition Failed) to client
Definition: client_side_reply.cc:1831
void sendStreamError(StoreIOBuffer const &result)
Definition: client_side_reply.cc:1773
void identifyFoundObject(StoreEntry *entry, const char *detail)
Definition: client_side_reply.cc:1545
void createStoreEntry(const HttpRequestMethod &m, RequestFlags flags)
Definition: client_side_reply.cc:2116
void setReplyToStoreEntry(StoreEntry *e, const char *reason)
replaces current response store entry with the given one
Definition: client_side_reply.cc:157
void processOnlyIfCachedMiss()
Definition: client_side_reply.cc:801
bool blockedHit() const
whether squid.conf send_hit prevents us from serving this hit
Definition: client_side_reply.cc:867
void triggerInitialStoreRead()
Definition: client_side_reply.cc:252
bool errorInStream(StoreIOBuffer const &result, size_t const &sizeToProcess) const
Definition: client_side_reply.cc:1764
int storeNotOKTransferDone() const
Definition: client_side_reply.cc:1092
void removeClientStoreReference(store_client **scp, ClientHttpRequest *http)
Definition: client_side_reply.cc:188
void pushStreamData(StoreIOBuffer const &result, char *source)
Definition: client_side_reply.cc:1790
~clientReplyContext() override
Definition: client_side_reply.cc:59
struct clientReplyContext::Flags flags
void processReplyAccessResult(const Acl::Answer &accessAllowed)
Definition: client_side_reply.cc:1929
const char * firstStoreLookup_
Definition: client_side_reply.h:134
void sendBodyTooLargeError()
Definition: client_side_reply.cc:1818
CollapsedRevalidation collapsedRevalidation
Definition: client_side_reply.h:152
char tempbuf[HTTP_REQBUF_SZ]
a temporary buffer if we need working storage
Definition: client_side_reply.h:79
const char * storeLookupString(bool found) const
Definition: client_side_reply.h:123
bool purgeEntry(StoreEntry &, const Http::MethodType, const char *descriptionPrefix="")
Definition: client_side_reply.cc:1009
void sendMoreData(StoreIOBuffer result)
Definition: client_side_reply.cc:2025
clientStream_status_t replyStatus()
Definition: client_side_reply.cc:1154
void removeStoreReference(store_client **scp, StoreEntry **ep)
Definition: client_side_reply.cc:173
LogTags * loggingTags() const override
Definition: client_side_reply.cc:916
void sendClientUpstreamResponse()
Definition: client_side_reply.cc:371
bool processConditional()
process conditional request from client
Definition: client_side_reply.cc:813
int storeOKTransferDone() const
Definition: client_side_reply.cc:1076
void processReplyAccess()
Definition: client_side_reply.cc:1885
clientStreamNode * getNextNode() const
Definition: client_side_reply.cc:243
void fillChecklist(ACLFilledChecklist &) const override
configure the given checklist (to reflect the current transaction state)
Definition: client_side_reply.cc:2108
void identifyStoreObject()
Definition: client_side_reply.cc:1525
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:99
clientReplyContext(ClientHttpRequest *)
Definition: client_side_reply.cc:73
void detailStoreLookup(const char *detail)
remembers the very first Store lookup classification, ignoring the rest
Definition: client_side_reply.cc:1624
Definition: clientStream.h:76
Definition: StoreClient.h:57
void purgeEntriesByUrl(HttpRequest *, const char *)
Definition: client_side_reply.cc:891
enum Http::_method_t MethodType
Definition: client_side_reply.h:81
unsigned storelogiccomplete
Definition: client_side_reply.h:84
Definition: parse.c:104