summaryrefslogtreecommitdiffstats
path: root/urpm/download.pm
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2008-02-13 02:25:57 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2008-02-13 02:25:57 +0000
commit2b0cd8d962af37b70a213ce911a7f198b2274a28 (patch)
treebf3aaef52d569f7b12daad27a66fac3be191eff3 /urpm/download.pm
parentddda4e58de54542c3f95a8c7dc56ccedd2bad778 (diff)
downloadurpmi-2b0cd8d962af37b70a213ce911a7f198b2274a28.tar
urpmi-2b0cd8d962af37b70a213ce911a7f198b2274a28.tar.gz
urpmi-2b0cd8d962af37b70a213ce911a7f198b2274a28.tar.bz2
urpmi-2b0cd8d962af37b70a213ce911a7f198b2274a28.tar.xz
urpmi-2b0cd8d962af37b70a213ce911a7f198b2274a28.zip
ensure that aria2 doesn't connect multiple times to same host with different protocols
Diffstat (limited to 'urpm/download.pm')
-rw-r--r--urpm/download.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/download.pm b/urpm/download.pm
index 18ab4bb5..a677cce4 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -582,6 +582,7 @@ sub sync_aria2 {
"--timeout", $CONNECT_TIMEOUT,
"--auto-file-renaming=false",
"--follow-metalink=mem",
+ '--metalink-enable-unique-protocol=true',
"-Z", "-j1",
($options->{limit_rate} ? "--max-download-limit=$options->{limit_rate}" : ()),
($options->{resume} ? "--continue" : "--allow-overwrite=true"),