client_side_request.h
Go to the documentation of this file.
31int clientBeginRequest(const HttpRequestMethod&, char const *, CSCB *, CSD *, ClientStreamData, HttpHeader const *, char *, size_t, const MasterXactionPointer &);
85 // XXX: unify the uriChanged condition calculation with resetRequest() callers, removing this method
200 bool sslBumpNeeded() const { return sslBumpNeed_ == Ssl::bumpServerFirst || sslBumpNeed_ == Ssl::bumpClientFirst || sslBumpNeed_ == Ssl::bumpBump || sslBumpNeed_ == Ssl::bumpPeek || sslBumpNeed_ == Ssl::bumpStare; }
Definition: FilledChecklist.h:32
class AccessLogEntry::CacheDetails cache
summarizes adaptation service answer for the noteAdaptationAnswer() API
Definition: Answer.h:23
Definition: Initiator.h:29
Definition: BodyPipe.h:43
Definition: client_side_request.h:38
int64_t prepPartialResponseGeneration()
Definition: client_side_request.cc:1932
ClientHttpRequest(ConnStateData *)
Definition: client_side_request.cc:123
CBDATA_CHILD(ClientHttpRequest)
void noteAdaptationAclCheckDone(Adaptation::ServiceGroupPointer) override
Definition: client_side_request.cc:785
void noteMoreBodyDataAvailable(BodyPipe::Pointer) override
Definition: client_side_request.cc:2057
struct ClientHttpRequest::Out out
bool request_satisfaction_mode
Definition: client_side_request.h:252
void clearRequest()
resets the current request and log_uri to nil
Definition: client_side_request.cc:1682
void resumeBodyStorage()
called by StoreEntry when it has more buffer space available
Definition: client_side_request.cc:2048
bool receivedWholeAdaptedReply
noteBodyProductionEnded() was called
Definition: client_side_request.h:250
void noteBodyProductionEnded(BodyPipe::Pointer) override
Definition: client_side_request.cc:2099
void calloutsError(const err_type, const ErrorDetail::Pointer &)
Build an error reply. For use with the callouts.
Definition: client_side_request.cc:2196
void absorbLogUri(char *)
assigns log_uri with aUri without copying the entire C-string
Definition: client_side_request.cc:1908
void endRequestSatisfaction()
Definition: client_side_request.cc:2113
void initRequest(HttpRequest *)
Definition: client_side_request.cc:1609
void setLogUriToRequestUri()
sets log_uri when we know the current request
Definition: client_side_request.cc:1884
void checkForInternalAccess()
Checks whether the current request is internal and adjusts it accordingly.
Definition: client_side_request.cc:1648
void updateError(const Error &)
if necessary, stores new error information (if any)
Definition: client_side_request.cc:1568
CbcPointer< Adaptation::Initiate > virginHeadSource
Definition: client_side_request.h:246
~ClientHttpRequest() override
Definition: client_side_request.cc:230
void updateLoggingTags(const LogTags_ot code)
update the code in the transaction processing tags
Definition: client_side_request.h:94
void setLogUriToRawUri(const char *, const HttpRequestMethod &)
Definition: client_side_request.cc:1892
size_t req_sz
raw request size on input, not current request size
Definition: client_side_request.h:162
bool doneAll() const override
whether positive goal has been reached
Definition: client_side_request.h:217
BodyPipe::Pointer adaptedBodySource
Definition: client_side_request.h:247
Ssl::BumpMode sslBumpNeed_
whether (and how) the request needs to be bumped
Definition: client_side_request.h:208
void noteAdaptationAnswer(const Adaptation::Answer &) override
Definition: client_side_request.cc:1971
void handleAdaptedHeader(Http::Message *)
Definition: client_side_request.cc:1995
struct ClientHttpRequest::Flags flags
bool multipartRangeRequest() const
Definition: client_side.cc:720
int64_t request_satisfaction_offset
Definition: client_side_request.h:253
void resetRequest(HttpRequest *)
Definition: client_side_request.cc:1626
bool requestSatisfactionMode() const
Definition: client_side_request.h:214
void resetRequestXXX(HttpRequest *, bool uriChanged)
Definition: client_side_request.cc:1633
ClientHttpRequest(ClientHttpRequest &&)=delete
void callException(const std::exception &) override
called when the job throws during an async call
Definition: client_side_request.cc:2178
void assignRequest(HttpRequest *)
Definition: client_side_request.cc:1672
void handleAdaptationBlock(const Adaptation::Answer &)
Definition: client_side_request.cc:2037
void noteBodyProducerAborted(BodyPipe::Pointer) override
Definition: client_side_request.cc:2131
void sslBumpEstablish(Comm::Flag)
Definition: client_side_request.cc:1516
bool sslBumpNeeded() const
returns true if and only if the request needs to be bumped
Definition: client_side_request.h:200
ClientRequestContext * calloutContext
Definition: client_side_request.h:179
Ssl::BumpMode sslBumpNeed() const
returns raw sslBump mode value
Definition: client_side_request.h:198
const LogTags & loggingTags() const
the processing tags associated with this request transaction.
Definition: client_side_request.h:97
void handleAdaptationFailure(const ErrorDetail::Pointer &, bool bypassable=false)
Definition: client_side_request.cc:2150
StoreEntry * loggingEntry() const
Definition: client_side_request.h:68
void startAdaptation(const Adaptation::ServiceGroupPointer &)
Initiate an asynchronous adaptation transaction which will call us back.
Definition: client_side_request.cc:1957
struct ClientHttpRequest::Redirect redirect
Definition: ClientRequestContext.h:29
Definition: client_side.h:84
Definition: HttpHeaderRange.h:96
Definition: HttpHeader.h:75
Definition: RequestMethod.h:27
Definition: HttpRequest.h:49
Definition: LogTags.h:67
Definition: MemObject.h:34
Definition: Store.h:42
Definition: SquidString.h:26
Definition: dlink.h:24
Definition: dlink.h:15
void CSD(clientStreamNode *, ClientHttpRequest *)
client stream detach
Definition: clientStreamForward.h:33
void CSCB(clientStreamNode *, ClientHttpRequest *, HttpReply *, StoreIOBuffer)
client stream read callback
Definition: clientStreamForward.h:27
ACLFilledChecklist * clientAclChecklistCreate(const acl_access *, ClientHttpRequest *)
Definition: client_side.cc:3486
void clientAccessCheck(ClientHttpRequest *)
void clientAclChecklistFill(ACLFilledChecklist &, ClientHttpRequest *)
Definition: client_side.cc:3494
char * clientConstructTraceEcho(ClientHttpRequest *)
int clientBeginRequest(const HttpRequestMethod &, char const *, CSCB *, CSD *, ClientStreamData, HttpHeader const *, char *, size_t, const MasterXactionPointer &)
Definition: client_side_request.cc:277
Definition: client_side_request.h:148
size_t headers_sz
Response header bytes written to the client connection.
Definition: client_side_request.h:158
uint64_t size
Response header and body bytes written to the client connection.
Definition: client_side_request.h:156