[pacman-dev] [PATCH v3] Implement multiplexed download using mCURL

Anatol Pomozov anatol.pomozov at gmail.com
Tue Apr 14 05:10:46 UTC 2020


On Mon, Apr 13, 2020 at 10:07 PM Allan McRae <allan at archlinux.org> wrote:
> 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
> to go.

D'oh, missed it. Thank you for fixing it.

More information about the pacman-dev mailing list