diff options
author | Anatol Pomozov <anatol.pomozov@gmail.com> | 2020-04-14 06:48:55 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-05-09 03:58:21 +0200 |
commit | 6a331af27fe6dc7842725d067fd2fb4a1c60c139 (patch) | |
tree | 71df6e475f81bba46a16663d0817faa540b77824 /scripts/po/pacman-scripts.pot | |
parent | 1d42a8f954eed3205e84cfb946b67ba889b04135 (diff) | |
download | pacman-6a331af27fe6dc7842725d067fd2fb4a1c60c139.tar.gz pacman-6a331af27fe6dc7842725d067fd2fb4a1c60c139.tar.xz |
Implement multiplexed download using mCURL
curl_multi_download_internal() is the main loop that creates up to
'ParallelDownloads' easy curl handles, adds them to mcurl and then
performs curl execution. This is when the paralled downloads happens.
Once any of the downloads complete the function checks its result.
In case if the download fails it initiates retry with the next server
from payload->servers list. At the download completion all the payload
resources are cleaned up.
curl_multi_check_finished_download() is essentially refactored version of
curl_download_internal() adopted for multi_curl. Once mcurl porting is
complete curl_download_internal() will be removed.
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/po/pacman-scripts.pot')
0 files changed, 0 insertions, 0 deletions