9#ifndef SQUID_SRC_CLIENT_SIDE_REQUEST_H
10#define SQUID_SRC_CLIENT_SIDE_REQUEST_H
215 return Initiator::doneAll() &&
int cbdataReferenceValid(const void *p)
#define CBDATA_CLASS(type)
std::unique_ptr< ACLFilledChecklist > MakingPointer
class AccessLogEntry::CacheDetails cache
summarizes adaptation service answer for the noteAdaptationAnswer() API
virtual bool doneAll() const
whether positive goal has been reached
int64_t prepPartialResponseGeneration()
CBDATA_CHILD(ClientHttpRequest)
void noteAdaptationAclCheckDone(Adaptation::ServiceGroupPointer) override
void noteMoreBodyDataAvailable(BodyPipe::Pointer) override
struct ClientHttpRequest::Out out
bool request_satisfaction_mode
void clearRequest()
resets the current request and log_uri to nil
HttpRequest *const request
void resumeBodyStorage()
called by StoreEntry when it has more buffer space available
bool receivedWholeAdaptedReply
noteBodyProductionEnded() was called
void noteBodyProductionEnded(BodyPipe::Pointer) override
StoreEntry * loggingEntry_
int64_t mRangeCLen() const
void calloutsError(const err_type, const ErrorDetail::Pointer &)
Build an error reply. For use with the callouts.
void absorbLogUri(char *)
assigns log_uri with aUri without copying the entire C-string
ConnStateData * getConn() const
void endRequestSatisfaction()
String rangeBoundaryStr() const
void initRequest(HttpRequest *)
void setLogUriToRequestUri()
sets log_uri when we know the current request
void checkForInternalAccess()
Checks whether the current request is internal and adjusts it accordingly.
void updateError(const Error &)
if necessary, stores new error information (if any)
CbcPointer< Adaptation::Initiate > virginHeadSource
~ClientHttpRequest() override
void updateLoggingTags(const LogTags_ot code)
update the code in the transaction processing tags
MemObject * memObject() const
void setLogUriToRawUri(const char *, const HttpRequestMethod &)
size_t req_sz
raw request size on input, not current request size
bool doneAll() const override
whether positive goal has been reached
void setErrorUri(const char *)
BodyPipe::Pointer adaptedBodySource
Ssl::BumpMode sslBumpNeed_
whether (and how) the request needs to be bumped
HttpHdrRangeIter range_iter
void noteAdaptationAnswer(const Adaptation::Answer &) override
void handleAdaptedHeader(Http::Message *)
struct ClientHttpRequest::Flags flags
bool multipartRangeRequest() const
int64_t request_satisfaction_offset
void resetRequest(HttpRequest *)
bool onlyIfCached() const
bool requestSatisfactionMode() const
void resetRequestXXX(HttpRequest *, bool uriChanged)
ClientHttpRequest(ClientHttpRequest &&)=delete
void callException(const std::exception &) override
called when the job throws during an async call
void assignRequest(HttpRequest *)
StoreEntry * storeEntry() const
void handleAdaptationBlock(const Adaptation::Answer &)
void noteBodyProducerAborted(BodyPipe::Pointer) override
void sslBumpEstablish(Comm::Flag)
bool sslBumpNeeded() const
returns true if and only if the request needs to be bumped
ClientRequestContext * calloutContext
Ssl::BumpMode sslBumpNeed() const
returns raw sslBump mode value
const LogTags & loggingTags() const
the processing tags associated with this request transaction.
int64_t maxReplyBodySize_
void handleAdaptationFailure(const ErrorDetail::Pointer &, bool bypassable=false)
const AccessLogEntry::Pointer al
access.log entry
StoreEntry * loggingEntry() const
void startAdaptation(const Adaptation::ServiceGroupPointer &)
Initiate an asynchronous adaptation transaction which will call us back.
struct ClientHttpRequest::Redirect redirect
common parts of HttpRequest and HttpReply
void clientAccessCheck(ClientHttpRequest *)
void tunnelStart(ClientHttpRequest *)
void clientAclChecklistFill(ACLFilledChecklist &, ClientHttpRequest *)
ACLFilledChecklist::MakingPointer clientAclChecklistCreate(const acl_access *, ClientHttpRequest *)
char * clientConstructTraceEcho(ClientHttpRequest *)
size_t headers_sz
Response header bytes written to the client connection.
uint64_t size
Response header and body bytes written to the client connection.