libzypp 17.31.7
|
Classes | |
class | MediaCurlExceptionMayRetryInternaly |
Attempt to work around certain issues by autoretry in MediaCurl::getFileCopy E.g. More... | |
struct | OptionalDownloadProgressReport |
Bottleneck filtering all DownloadProgressReport issued from Media[Muli]Curl. More... | |
struct | ProgressData |
struct | ProgressTracker |
struct | SharedData |
Functions | |
const char * | anonymousIdHeader () |
const char * | distributionFlavorHeader () |
const char * | agentString () |
constexpr std::string_view | MEDIACACHE_REGEX ("^\\/media\\.[1-9][0-9]*\\/media$") |
void | globalInitCurlOnce () |
int | log_curl (CURL *, curl_infotype info, char *ptr, size_t len, void *max_lvl) |
size_t | log_redirects_curl (char *ptr, size_t size, size_t nmemb, void *userdata) |
void | fillSettingsFromUrl (const Url &url, media::TransferSettings &s) |
Fills the settings structure using options passed on the url for example ?timeout=x&proxy=foo. More... | |
void | fillSettingsSystemProxy (const Url &url, media::TransferSettings &s) |
Reads the system proxy configuration and fills the settings structure proxy information. More... | |
void | curlEscape (std::string &str_r, const char char_r, const std::string &escaped_r) |
std::string | curlEscapedPath (std::string path_r) |
std::string | curlUnEscape (std::string text_r) |
Url | clearQueryString (const Url &url) |
zypp::Url | propagateQueryParams (zypp::Url url_r, const zypp::Url &template_r) |
const char * internal::anonymousIdHeader | ( | ) |
Definition at line 251 of file MediaCurl.cc.
const char * internal::distributionFlavorHeader | ( | ) |
Definition at line 265 of file MediaCurl.cc.
const char * internal::agentString | ( | ) |
Definition at line 279 of file MediaCurl.cc.
|
constexpr |
void internal::globalInitCurlOnce | ( | ) |
Definition at line 59 of file curlhelper.cc.
int internal::log_curl | ( | CURL * | , |
curl_infotype | info, | ||
char * | ptr, | ||
size_t | len, | ||
void * | max_lvl | ||
) |
Definition at line 68 of file curlhelper.cc.
size_t internal::log_redirects_curl | ( | char * | ptr, |
size_t | size, | ||
size_t | nmemb, | ||
void * | userdata | ||
) |
Definition at line 102 of file curlhelper.cc.
void internal::fillSettingsFromUrl | ( | const Url & | url, |
media::TransferSettings & | s | ||
) |
Fills the settings structure using options passed on the url for example ?timeout=x&proxy=foo.
Definition at line 142 of file curlhelper.cc.
void internal::fillSettingsSystemProxy | ( | const Url & | url, |
media::TransferSettings & | s | ||
) |
Reads the system proxy configuration and fills the settings structure proxy information.
Definition at line 290 of file curlhelper.cc.
void internal::curlEscape | ( | std::string & | str_r, |
const char | char_r, | ||
const std::string & | escaped_r | ||
) |
Definition at line 312 of file curlhelper.cc.
std::string internal::curlEscapedPath | ( | std::string | path_r | ) |
Definition at line 320 of file curlhelper.cc.
std::string internal::curlUnEscape | ( | std::string | text_r | ) |
Definition at line 325 of file curlhelper.cc.
Definition at line 332 of file curlhelper.cc.
Definition at line 358 of file curlhelper.cc.