libzypp 17.31.23
|
Namespaces | |
namespace | AttachMsgFields |
namespace | AuthDataRequestMsgFields |
namespace | AuthInfoMsgFields |
namespace | constants |
namespace | DetachMsgFields |
namespace | EjectMsgFields |
namespace | ErrMsgFields |
namespace | MediaChangeRequestMsgFields |
namespace | MetalinkRedirectMsgFields |
namespace | ProvideFinishedMsgFields |
namespace | ProvideMsgFields |
namespace | ProvideStartedMsgFields |
namespace | RedirectMsgFields |
namespace | worker |
Enumerations | |
enum class | MetaDataType { None = 0 , Zsync , MetaLink } |
Variables | |
constexpr uint | penaltyIncrease = 100 |
constexpr uint | defaultSampleTime = 2 |
constexpr uint | defaultMaxConnections = 5 |
constexpr std::string_view | CurlNativeErrorCodeDescKey = "nativeErrorCodeDesc" |
constexpr std::string_view | CurlNativeErrorDescKey = "nativeErrorDesc" |
@TODO Fix bsc#1174011 "auth=basic ignored in some cases" for provider We should proactively add the password to the request if basic auth is configured and a password is available in the credentials but not in the URL.
We should be a bit paranoid here and require that the URL has a user embedded, otherwise we go the default route and ask the server first about the auth method
typedef std::shared_ptr< RpcMessageStream > zyppng::RpcMessageStreamPtr |
Definition at line 47 of file provide_p.h.
using zyppng::ProvidePromiseRef = typedef std::shared_ptr<ProvidePromise<T> > |
Definition at line 31 of file providefwd_p.h.
using zyppng::ProvidePromiseWeakRef = typedef std::weak_ptr<ProvidePromise<T> > |
Definition at line 33 of file providefwd_p.h.
using zyppng::AnyMap = typedef std::unordered_map<std::string, boost::any> |
Definition at line 21 of file authdata.h.
using zyppng::AuthData_Ptr = typedef zypp::media::AuthData_Ptr |
Definition at line 22 of file authdata.h.
using zyppng::NetworkAuthData = typedef zypp::media::CurlAuthData |
Definition at line 24 of file authdata.h.
using zyppng::NetworkAuthData_Ptr = typedef zypp::media::CurlAuthData_Ptr |
Definition at line 25 of file authdata.h.
Definition at line 25 of file downloader.h.
our known states: InitialState //< initial state before we start downloading DetectMetalinkState //< First attempt to get the zchunk header, but we might receive metalink data instead DlMetaLinkInfoState //< We got Metalink, lets get the full metalink file or we got no zchunk in the first place PrepareMultiState //< Parsing the metalink file and preparing the mirrors DLZckHeadState //< Download the ZChunk Header DLZckState //< Download the File in ZChunk Mode DlMetalinkState //< Download the File in Metalink Mode DlNormalFileState //< Simple Plain download, no chunking FinishedState //< We are done
Definition at line 47 of file downloader_p.h.
|
strong |
Enumerator | |
---|---|
None | |
Zsync | |
MetaLink |
Definition at line 26 of file metalinkinfo_p.h.
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | SuseMediaDataVerifier | ) |
std::ostream & zyppng::operator<< | ( | std::ostream & | str, |
const MediaDataVerifierRef & | obj | ||
) |
Definition at line 130 of file mediaverifier.cc.
|
inline |
Definition at line 28 of file providedbg_p.h.
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ProvideQueue | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ProvideWorker | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ProvideFileItem | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | AttachMediaItem | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | DetachMediaItem | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ProvideRequest | ) |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
zyppng::ZYPP_IMPL_PRIVATE | ( | Provide | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | Provide | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ProvideMediaSpec | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ProvideFileSpec | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ProvideItem | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | MediaDataVerifier | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ProvideStatus | ) |
|
staticconstexpr |
zyppng::ZYPP_IMPL_PRIVATE | ( | ProvideItem | ) |
|
static |
Definition at line 18 of file providemessage.cc.
|
static |
Definition at line 44 of file providemessage.cc.
|
static |
Definition at line 60 of file providemessage.cc.
std::ostream & zyppng::operator<< | ( | std::ostream & | str, |
const ProvideFileSpec & | obj | ||
) |
Definition at line 264 of file providespec.cc.
std::ostream & zyppng::dumpOn | ( | std::ostream & | str, |
const ProvideFileSpec & | obj | ||
) |
Definition at line 267 of file providespec.cc.
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | Downloader | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | Download | ) |
|
static |
Definition at line 31 of file networkrequestdispatcher.cc.
zyppng::ZYPP_IMPL_PRIVATE | ( | NetworkRequestError | ) |
std::vector< char > zyppng::peek_data_fd | ( | FILE * | fd, |
off_t | offset, | ||
size_t | count | ||
) |
Definition at line 57 of file request.cc.
|
constexpr |
Definition at line 18 of file mirrorcontrol.cc.
|
constexpr |
Definition at line 19 of file mirrorcontrol.cc.
|
constexpr |
Definition at line 20 of file mirrorcontrol.cc.
|
constexpr |
Definition at line 20 of file networkrequesterror.cc.
|
constexpr |
Definition at line 21 of file networkrequesterror.cc.