On Fri, Mar 15, 2019 at 8:56 AM Benjamin Zeller <bzeller@suse.de> wrote:
I added your suggestion to the zypper media backend enhancement bug here: https://bugzilla.opensuse.org/show_bug.cgi?id=1125470
However in its current codebase zypper does not handle download restarts. Not sure if and how easy it is to enable this, since zypper uses already multiple downloads of the same file from different mirrors and I don't know if that mixes well with restarts.
Could you point to code? As far as I can tell, libzypp MediaCurl.cc is using cURL curl_easy_* API which is single threaded. It could be challenging to resume download though as file is stored under temporary random name until download is complete, so finding incomplete file (and verifying that it was from previous aborted attempt) is not entirely straightforward. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org