From 2b0cd8d962af37b70a213ce911a7f198b2274a28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=98yvind=20Karlsen?= Date: Wed, 13 Feb 2008 02:25:57 +0000 Subject: ensure that aria2 doesn't connect multiple times to same host with different protocols --- urpm/download.pm | 1 + 1 file changed, 1 insertion(+) 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"), -- cgit v1.2.1