summaryrefslogtreecommitdiffstats
path: root/urpm/download.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-23 16:40:54 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-23 16:40:54 +0000
commit6ab442c86c4581b14dfda3af83259c3490266d25 (patch)
tree071f30aa9845782c4b2c6f4572b74c7c8ac208d1 /urpm/download.pm
parente3da7379755a6b22589fde8d799646b983f51478 (diff)
downloadurpmi-6ab442c86c4581b14dfda3af83259c3490266d25.tar
urpmi-6ab442c86c4581b14dfda3af83259c3490266d25.tar.gz
urpmi-6ab442c86c4581b14dfda3af83259c3490266d25.tar.bz2
urpmi-6ab442c86c4581b14dfda3af83259c3490266d25.tar.xz
urpmi-6ab442c86c4581b14dfda3af83259c3490266d25.zip
- aria2:
o use --ftp-pasv (as suggested by aria2 developer)
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 c68132db..db844d41 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -655,6 +655,7 @@ sub sync_aria2 {
my $aria2c_command = join(" ", map { "'$_'" }
"/usr/bin/aria2c", $options->{debug} ? ('--log', "$options->{dir}/.aria2.log") : (),
"--auto-file-renaming=false",
+ '--ftp-pasv',
"--follow-metalink=mem",
'--metalink-enable-unique-protocol=false', # so that it can try both ftp and http access on the same server. aria2 will only do this on first calls
'--max-tries=1', # nb: not using $options->{retry}