From 6ab442c86c4581b14dfda3af83259c3490266d25 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 23 Sep 2008 16:40:54 +0000 Subject: - aria2: o use --ftp-pasv (as suggested by aria2 developer) --- NEWS | 1 + urpm/download.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/NEWS b/NEWS index ee7bdb97..27066760 100644 --- a/NEWS +++ b/NEWS @@ -12,6 +12,7 @@ o for remote media, do not probe for media_info files in "./", do it only in "media_info/" - aria2: + o use --ftp-pasv (as suggested by aria2 developer) o use --connect-timeout 6 seconds (instead of 3) Version 6.13 - 18 September 2008 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} -- cgit v1.2.1