[pacman-dev] [PATCH v3] Implement multiplexed download using mCURL
allan at archlinux.org
Tue Apr 14 05:07:28 UTC 2020
On 14/4/20 2:48 pm, Anatol Pomozov wrote:
> 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_handle_single_done() is essentially refactored version of
I updated the commit message with the new function name. Otherwise good
More information about the pacman-dev