Revert "sources(curl): disable curl --parallel by default"

This reverts commit 9bef57d5a6.
This commit is contained in:
Michael Vogt 2024-07-31 11:40:00 +02:00
parent a229d46b1e
commit b4b865fddf
2 changed files with 2 additions and 17 deletions

View file

@ -110,12 +110,6 @@ def curl_has_parallel_downloads():
Return true if curl has all the support we needed for parallel downloading
(this include --write-out "%{json}" too
"""
# Re-enable this once the failures in
# https://github.com/osbuild/osbuild-composer/pull/4247
# are understood
if os.getenv("OSBUILD_SOURCES_CURL_USE_PARALLEL") not in ["1", "yes", "true"]:
return False
output = subprocess.check_output(["curl", "--version"], universal_newlines=True)
first_line = output.split("\n", maxsplit=1)[0]
m = re.match(r'^curl (\d+\.\d+\.\d+)', first_line)