From 13be071b6a80964a07c9e42d936aae62ecd8a8f3 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 19 May 2008 12:36:20 +0000 Subject: [PATCH] 2008-05-19 Tatsuhiro Tsujikawa Revert the default value of --max-concurrent-downloads to 5. Revert the default value of --metalink-servers to 5. Man pages was also updated. * src/option_processing.cc * doc/aria2c.1.txt * doc/aria2c.1.html * doc/aria2c.1 --- ChangeLog | 10 ++++++++++ doc/aria2c.1 | 10 +++++----- doc/aria2c.1.html | 8 ++++---- doc/aria2c.1.txt | 6 +++--- src/option_processing.cc | 4 ++-- 5 files changed, 24 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9afd9342..5fdffd9b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2008-05-19 Tatsuhiro Tsujikawa + + Revert the default value of --max-concurrent-downloads to 5. + Revert the default value of --metalink-servers to 5. + Man pages was also updated. + * src/option_processing.cc + * doc/aria2c.1.txt + * doc/aria2c.1.html + * doc/aria2c.1 + 2008-05-19 Tatsuhiro Tsujikawa Returns const reference: diff --git a/doc/aria2c.1 b/doc/aria2c.1 index cf3a5510..ddbbafad 100644 --- a/doc/aria2c.1 +++ b/doc/aria2c.1 @@ -1,11 +1,11 @@ .\" Title: aria2c .\" Author: .\" Generator: DocBook XSL Stylesheets v1.73.1 -.\" Date: 05/16/2008 +.\" Date: 05/19/2008 .\" Manual: .\" Source: .\" -.TH "ARIA2C" "1" "05/16/2008" "" "" +.TH "ARIA2C" "1" "05/19/2008" "" "" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) @@ -43,7 +43,7 @@ is specified, log is written to stdout\. \-j, \-\-max\-concurrent\-downloads=N .RS 4 Set maximum number of parallel downloads\. Default: -\fI1\fR +\fI5\fR .RE .PP \-\-check\-integrity=\fItrue\fR|\fIfalse\fR @@ -410,7 +410,7 @@ The file path to \.metalink file\. You may not use this option because you can s \-C, \-\-metalink\-servers=NUM_SERVERS .RS 4 The number of servers to connect to simultaneously\. Some metalinks regulates the number of servers to connect\. aria2 respects them\. Default: -\fI1\fR +\fI5\fR .RE .PP \-\-metalink\-language=LANGUAGE @@ -789,7 +789,7 @@ Download a file using a local .metalink file with user preference .sp .RS 4 .nf -aria2c \-\-metalink\-location=JP,US \-\-metalink\-version=1\.1 \-\-metalink\-language=en\-US \-C2 file\.metalink +aria2c \-\-metalink\-location=JP,US \-\-metalink\-version=1\.1 \-\-metalink\-language=en\-US file\.metalink .fi .RE .RE diff --git a/doc/aria2c.1.html b/doc/aria2c.1.html index 9ab378bc..ddcd731e 100644 --- a/doc/aria2c.1.html +++ b/doc/aria2c.1.html @@ -355,7 +355,7 @@ div#toc a:visited { color: blue; }

Set maximum number of parallel downloads. - Default: 1 + Default: 5

@@ -891,7 +891,7 @@ writes the piece to the appropriate files. The number of servers to connect to simultaneously. Some metalinks regulates the number of servers to connect. aria2 respects them. - Default: 1 + Default: 5

@@ -1265,7 +1265,7 @@ directory.

Download a file using a local .metalink file with user preference

-
aria2c --metalink-location=JP,US --metalink-version=1.1 --metalink-language=en-US -C2 file.metalink
+
aria2c --metalink-location=JP,US --metalink-version=1.1 --metalink-language=en-US file.metalink

BitTorrent Download

Download files from remote BitTorrent file

@@ -1548,7 +1548,7 @@ files in the program, then also delete it here.

diff --git a/doc/aria2c.1.txt b/doc/aria2c.1.txt index 2e6159e3..1a134cc0 100644 --- a/doc/aria2c.1.txt +++ b/doc/aria2c.1.txt @@ -33,7 +33,7 @@ Basic Options -j, --max-concurrent-downloads=N:: Set maximum number of parallel downloads. - Default: '1' + Default: '5' --check-integrity='true'|'false':: Check file integrity by validating piece hash. @@ -302,7 +302,7 @@ Metalink Specific Options The number of servers to connect to simultaneously. Some metalinks regulates the number of servers to connect. aria2 respects them. - Default: '1' + Default: '5' --metalink-language=LANGUAGE:: The language of the file to download. @@ -526,7 +526,7 @@ The index is printed to the console using -S option. Download a file using a local .metalink file with user preference ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------------------------------------------------------------------ -aria2c --metalink-location=JP,US --metalink-version=1.1 --metalink-language=en-US -C2 file.metalink +aria2c --metalink-location=JP,US --metalink-version=1.1 --metalink-language=en-US file.metalink ------------------------------------------------------------------------------ BitTorrent Download diff --git a/src/option_processing.cc b/src/option_processing.cc index 547bb7f7..b7a9e2a6 100644 --- a/src/option_processing.cc +++ b/src/option_processing.cc @@ -80,7 +80,7 @@ Option* createDefaultOption() op->put(PREF_DAEMON, V_FALSE); op->put(PREF_SEGMENT_SIZE, Util::itos((int32_t)(1024*1024))); op->put(PREF_LISTEN_PORT, "6881-6999"); - op->put(PREF_METALINK_SERVERS, "1"); + op->put(PREF_METALINK_SERVERS, "5"); op->put(PREF_FOLLOW_TORRENT, #ifdef ENABLE_BITTORRENT V_TRUE @@ -124,7 +124,7 @@ Option* createDefaultOption() op->put(PREF_CONTINUE, V_FALSE); op->put(PREF_USER_AGENT, "aria2"); op->put(PREF_NO_NETRC, V_FALSE); - op->put(PREF_MAX_CONCURRENT_DOWNLOADS, "1"); + op->put(PREF_MAX_CONCURRENT_DOWNLOADS, "5"); op->put(PREF_DIRECT_DOWNLOAD_TIMEOUT, "300"); op->put(PREF_FORCE_SEQUENTIAL, V_FALSE); op->put(PREF_AUTO_FILE_RENAMING, V_TRUE);