Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2020-04-13 21:48:55 -0700
committerAllan McRae <allan@archlinux.org>2020-05-09 11:58:21 +1000
commit6a331af27fe6dc7842725d067fd2fb4a1c60c139 (patch)
tree71df6e475f81bba46a16663d0817faa540b77824 /lib/libalpm/sync.c
parent1d42a8f954eed3205e84cfb946b67ba889b04135 (diff)
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 'lib/libalpm/sync.c')
0 files changed, 0 insertions, 0 deletions