|
XRootD
|
Namespaces | |
| HeaderBuilder | |
| ThirdPartyCopyOpTypes | |
Classes | |
| struct | ChecksumEntry |
| class | ChecksumInfo |
| class | ConnectionCallout |
| class | Factory |
| class | VerbsCache |
Functions | |
| void | ConfigureHandle (CURL *curl, bool verbose) |
| std::string | GetBearerToken (XrdCl::Log *logger=nullptr) |
| size_t | GetChecksumLength (ChecksumType ctype) |
| CURL * | GetHandle (bool verbose) |
| ChecksumType | GetTypeFromString (const std::string &str) |
| const std::string | GetTypeString (ChecksumType ctype) |
| std::pair< uint16_t, uint32_t > | HTTPStatusConvert (unsigned status) |
| bool | HTTPStatusIsError (unsigned status) |
| void | InjectBearerToken (const XrdCl::URL &url, std::vector< std::pair< std::string, std::string >> &headers, XrdCl::Log *logger=nullptr) |
| std::string_view | ltrim_view (const std::string_view &input_view) |
| std::string | MarshalDuration (const struct timespec &timeout) |
| bool | ParseTimeout (const std::string &duration, struct timespec &, std::string &errmsg) |
| bool | ParseTokenFile (const std::string &token_file, CurlCopyOp::Headers &src_hdrs, CurlCopyOp::Headers &dst_hdrs) |
| bool | ShouldUseBearerToken (const std::string &protocols, bool hasX509Credential, bool hasBearerToken) |
| static std::optional< std::size_t > | stat_size (HandlerQueue &queue, const std::string &url, const CurlCopyOp::Headers &hdrs, time_t timeout, XrdCl::Log *log, const char *what) |
| std::string | TapeProblemResponse (long statusCode, const std::string &body) |
| std::string_view | trim_view (const std::string_view &input_view) |
| struct XrdClHttp::ChecksumEntry |
Definition at line 103 of file XrdClHttpChecksum.hh.
Collaboration diagram for XrdClHttp::ChecksumEntry:| Class Members | ||
|---|---|---|
| ChecksumType | type | |
| array< unsigned char, g_max_checksum_length > | value | |
| void XrdClHttp::ConfigureHandle | ( | CURL * | curl, |
| bool | verbose | ||
| ) |
Definition at line 763 of file XrdClHttpUtil.cc.
References XrdCl::DefaultEnv::GetEnv(), and XrdCl::DefaultEnv::GetLog().
Referenced by XrdClHttp::CurlOperation::SetupNextRequest().
Here is the call graph for this function:
Here is the caller graph for this function:| std::string XrdClHttp::GetBearerToken | ( | XrdCl::Log * | logger = nullptr | ) |
Definition at line 116 of file XrdClHttpUtil.cc.
References XrdCl::DefaultEnv::GetEnv(), getline(), and XrdCl::Utils::Trim().
Referenced by InjectBearerToken().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 65 of file XrdClHttpChecksum.hh.
Referenced by XrdClHttp::HeaderParser::ParseDigest(), and XrdClHttp::CurlChecksumOp::Success().
Here is the caller graph for this function:| CURL* XrdClHttp::GetHandle | ( | bool | verbose | ) |
|
inline |
Definition at line 84 of file XrdClHttpChecksum.hh.
|
inline |
Definition at line 44 of file XrdClHttpChecksum.hh.
Referenced by XrdClHttp::CurlChecksumOp::Success().
Here is the caller graph for this function:| std::pair< uint16_t, uint32_t > XrdClHttp::HTTPStatusConvert | ( | unsigned | status | ) |
Definition at line 207 of file XrdClHttpUtil.cc.
References XrdCl::errErrorResponse, XrdCl::errUnknown, kXR_Conflict, kXR_FileLocked, kXR_Impossible, kXR_InvalidRequest, kXR_NotAuthorized, kXR_NotFound, kXR_Overloaded, kXR_overQuota, kXR_ReqTimedOut, kXR_ServerError, and kXR_Unsupported.
Referenced by XrdClHttp::CurlWorker::Run().
Here is the caller graph for this function:| bool XrdClHttp::HTTPStatusIsError | ( | unsigned | status | ) |
Definition at line 112 of file XrdClHttpUtil.cc.
Referenced by XrdClHttp::CurlWorker::Run(), and XrdClHttp::CurlVectorReadOp::Write().
Here is the caller graph for this function:| void XrdClHttp::InjectBearerToken | ( | const XrdCl::URL & | url, |
| std::vector< std::pair< std::string, std::string >> & | headers, | ||
| XrdCl::Log * | logger = nullptr |
||
| ) |
Definition at line 164 of file XrdClHttpUtil.cc.
References XrdCl::Log::Debug(), GetBearerToken(), XrdCl::DefaultEnv::GetEnv(), XrdCl::URL::GetParams(), XrdCl::URL::GetURL(), kLogXrdClHttp, and ShouldUseBearerToken().
Referenced by XrdClHttp::CurlOperation::FinishSetup().
Here is the call graph for this function:
Here is the caller graph for this function:| std::string_view XrdClHttp::ltrim_view | ( | const std::string_view & | input_view | ) |
Definition at line 753 of file XrdClHttpUtil.cc.
Referenced by trim_view(), and XrdClS3::Factory::TrimView().
Here is the caller graph for this function:| std::string XrdClHttp::MarshalDuration | ( | const struct timespec & | timeout | ) |
| bool XrdClHttp::ParseTimeout | ( | const std::string & | duration, |
| struct timespec & | , | ||
| std::string & | errmsg | ||
| ) |
| bool XrdClHttp::ParseTokenFile | ( | const std::string & | token_file, |
| CurlCopyOp::Headers & | src_hdrs, | ||
| CurlCopyOp::Headers & | dst_hdrs | ||
| ) |
| bool XrdClHttp::ShouldUseBearerToken | ( | const std::string & | protocols, |
| bool | hasX509Credential, | ||
| bool | hasBearerToken | ||
| ) |
Definition at line 145 of file XrdClHttpUtil.cc.
References XrdCl::Utils::splitString(), and XrdCl::Utils::Trim().
Referenced by InjectBearerToken().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 430 of file XrdClHttpFilesystem.cc.
References XrdCl::Log::Debug(), kLogXrdClHttp, and XrdCl::Log::Warning().
Referenced by XrdClHttp::Filesystem::ThirdPartyCopy().
Here is the call graph for this function:
Here is the caller graph for this function:| std::string XrdClHttp::TapeProblemResponse | ( | long | statusCode, |
| const std::string & | body | ||
| ) |
Definition at line 1123 of file XrdClHttpTape.cc.
Referenced by XrdClHttp::CurlTapeOp::Fail().
Here is the caller graph for this function:| std::string_view XrdClHttp::trim_view | ( | const std::string_view & | input_view | ) |
Definition at line 742 of file XrdClHttpUtil.cc.
References ltrim_view().
Referenced by XrdClHttp::HeaderParser::ParseDigest().
Here is the call graph for this function:
Here is the caller graph for this function: