client_side_request.h
Go to the documentation of this file.
82 // XXX: unify the uriChanged condition calculation with resetRequest() callers, removing this method
197 bool sslBumpNeeded() const { return sslBumpNeed_ == Ssl::bumpServerFirst || sslBumpNeed_ == Ssl::bumpClientFirst || sslBumpNeed_ == Ssl::bumpBump || sslBumpNeed_ == Ssl::bumpPeek || sslBumpNeed_ == Ssl::bumpStare; }
Definition: LogTags.h:69
void setLogUriToRawUri(const char *, const HttpRequestMethod &)
Definition: client_side_request.cc:1794
void resetRequest(HttpRequest *)
Definition: client_side_request.cc:1528
ClientHttpRequest(ConnStateData *)
Definition: client_side_request.cc:128
Definition: FilledChecklist.h:33
Definition: HttpHeaderRange.h:95
void noteAdaptationAnswer(const Adaptation::Answer &) override
Definition: client_side_request.cc:1873
void resetRequestXXX(HttpRequest *, bool uriChanged)
Definition: client_side_request.cc:1535
struct ClientHttpRequest::Redirect redirect
void initRequest(HttpRequest *)
Definition: client_side_request.cc:1511
std::unique_ptr< ACLFilledChecklist > MakingPointer
Definition: FilledChecklist.h:41
bool sslBumpNeeded() const
returns true if and only if the request needs to be bumped
Definition: client_side_request.h:197
int64_t prepPartialResponseGeneration()
Definition: client_side_request.cc:1834
void startAdaptation(const Adaptation::ServiceGroupPointer &)
Initiate an asynchronous adaptation transaction which will call us back.
Definition: client_side_request.cc:1859
void handleAdaptationFailure(const ErrorDetail::Pointer &, bool bypassable=false)
Definition: client_side_request.cc:2050
void updateLoggingTags(const LogTags_ot code)
update the code in the transaction processing tags
Definition: client_side_request.h:91
struct ClientHttpRequest::Flags flags
struct ClientHttpRequest::Out out
bool request_satisfaction_mode
Definition: client_side_request.h:249
bool doneAll() const override
whether positive goal has been reached
Definition: client_side_request.h:214
void assignRequest(HttpRequest *)
Definition: client_side_request.cc:1574
void noteBodyProductionEnded(BodyPipe::Pointer) override
Definition: client_side_request.cc:1999
void checkForInternalAccess()
Checks whether the current request is internal and adjusts it accordingly.
Definition: client_side_request.cc:1550
Definition: client_side_request.h:145
size_t headers_sz
Response header bytes written to the client connection.
Definition: client_side_request.h:155
void endRequestSatisfaction()
Definition: client_side_request.cc:2013
void callException(const std::exception &) override
called when the job throws during an async call
Definition: client_side_request.cc:2078
Definition: HttpRequest.h:48
bool multipartRangeRequest() const
Definition: client_side.cc:696
void clearRequest()
resets the current request and log_uri to nil
Definition: client_side_request.cc:1584
bool requestSatisfactionMode() const
Definition: client_side_request.h:211
Definition: client_side_request.h:30
CBDATA_CHILD(ClientHttpRequest)
int64_t request_satisfaction_offset
Definition: client_side_request.h:250
Definition: client_side.h:79
void clientAccessCheck(ClientHttpRequest *)
Definition: dlink.h:14
Definition: RequestMethod.h:26
void noteMoreBodyDataAvailable(BodyPipe::Pointer) override
Definition: client_side_request.cc:1957
Definition: SquidString.h:25
ACLFilledChecklist::MakingPointer clientAclChecklistCreate(const acl_access *, ClientHttpRequest *)
Definition: client_side.cc:3457
Definition: forward.h:15
uint64_t size
Response header and body bytes written to the client connection.
Definition: client_side_request.h:153
void noteAdaptationAclCheckDone(Adaptation::ServiceGroupPointer) override
Definition: client_side_request.cc:693
summarizes adaptation service answer for the noteAdaptationAnswer() API
Definition: Answer.h:24
Definition: Initiator.h:28
const LogTags & loggingTags() const
the processing tags associated with this request transaction.
Definition: client_side_request.h:94
void clientAclChecklistFill(ACLFilledChecklist &, ClientHttpRequest *)
Definition: client_side.cc:3465
void sslBumpEstablish(Comm::Flag)
Definition: client_side_request.cc:1418
Definition: dlink.h:23
Definition: MemObject.h:33
Ssl::BumpMode sslBumpNeed_
whether (and how) the request needs to be bumped
Definition: client_side_request.h:205
Definition: Store.h:37
Definition: BodyPipe.h:42
void noteBodyProducerAborted(BodyPipe::Pointer) override
Definition: client_side_request.cc:2031
void handleAdaptedHeader(Http::Message *)
Definition: client_side_request.cc:1897
void resumeBodyStorage()
called by StoreEntry when it has more buffer space available
Definition: client_side_request.cc:1948
Definition: ClientRequestContext.h:28
void handleAdaptationBlock(const Adaptation::Answer &)
Definition: client_side_request.cc:1939
size_t req_sz
raw request size on input, not current request size
Definition: client_side_request.h:159
~ClientHttpRequest() override
Definition: client_side_request.cc:235
CbcPointer< Adaptation::Initiate > virginHeadSource
Definition: client_side_request.h:243
void setLogUriToRequestUri()
sets log_uri when we know the current request
Definition: client_side_request.cc:1786
void calloutsError(const err_type, const ErrorDetail::Pointer &)
Build an error reply. For use with the callouts.
Definition: client_side_request.cc:2096
bool receivedWholeAdaptedReply
noteBodyProductionEnded() was called
Definition: client_side_request.h:247
Ssl::BumpMode sslBumpNeed() const
returns raw sslBump mode value
Definition: client_side_request.h:195
ClientRequestContext * calloutContext
Definition: client_side_request.h:176
char * clientConstructTraceEcho(ClientHttpRequest *)
StoreEntry * loggingEntry() const
Definition: client_side_request.h:65
void updateError(const Error &)
if necessary, stores new error information (if any)
Definition: client_side_request.cc:1470
void absorbLogUri(char *)
assigns log_uri with aUri without copying the entire C-string
Definition: client_side_request.cc:1810
BodyPipe::Pointer adaptedBodySource
Definition: client_side_request.h:244
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