From 9dc29ebf5f3c6fe34b5a1b60f6f57f88668d9d20 Mon Sep 17 00:00:00 2001 From: morganamilo Date: Tue, 24 Nov 2020 12:39:04 +0000 Subject: libalpm: set parallel_downloads to 1 when creating the handle Fixes FS#68729 Signed-off-by: Allan McRae --- lib/libalpm/alpm.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c index 34c5b4b2..85cc4618 100644 --- a/lib/libalpm/alpm.c +++ b/lib/libalpm/alpm.c @@ -75,6 +75,8 @@ alpm_handle_t SYMEXPORT *alpm_initialize(const char *root, const char *dbpath, myhandle->curlm = curl_multi_init(); #endif + myhandle->parallel_downloads = 1; + #ifdef ENABLE_NLS bindtextdomain("libalpm", LOCALEDIR); #endif -- cgit v1.2.3-70-g09d2