summaryrefslogtreecommitdiffstats
path: root/scripts/libmakepkg/lint_pkgbuild/backup.sh.in
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2020-04-14 06:48:55 +0200
committerAllan McRae <allan@archlinux.org>2020-05-09 03:58:21 +0200
commit6a331af27fe6dc7842725d067fd2fb4a1c60c139 (patch)
tree71df6e475f81bba46a16663d0817faa540b77824 /scripts/libmakepkg/lint_pkgbuild/backup.sh.in
parent1d42a8f954eed3205e84cfb946b67ba889b04135 (diff)
downloadpacman-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/libmakepkg/lint_pkgbuild/backup.sh.in')
0 files changed, 0 insertions, 0 deletions