Browse Source

2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

	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
Tatsuhiro Tsujikawa 17 years ago
parent
commit
13be071b6a
5 changed files with 24 additions and 14 deletions
  1. 10 0
      ChangeLog
  2. 5 5
      doc/aria2c.1
  3. 4 4
      doc/aria2c.1.html
  4. 3 3
      doc/aria2c.1.txt
  5. 2 2
      src/option_processing.cc

+ 10 - 0
ChangeLog

@@ -1,3 +1,13 @@
+2008-05-19  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
+
+	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  <tujikawa at rednoah dot com>
 2008-05-19  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
 
 
 	Returns const reference:
 	Returns const reference:

+ 5 - 5
doc/aria2c.1

@@ -1,11 +1,11 @@
 .\"     Title: aria2c
 .\"     Title: aria2c
 .\"    Author: 
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>
 .\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>
-.\"      Date: 05/16/2008
+.\"      Date: 05/19/2008
 .\"    Manual: 
 .\"    Manual: 
 .\"    Source: 
 .\"    Source: 
 .\"
 .\"
-.TH "ARIA2C" "1" "05/16/2008" "" ""
+.TH "ARIA2C" "1" "05/19/2008" "" ""
 .\" disable hyphenation
 .\" disable hyphenation
 .nh
 .nh
 .\" disable justification (adjust text to left margin only)
 .\" disable justification (adjust text to left margin only)
@@ -43,7 +43,7 @@ is specified, log is written to stdout\.
 \-j, \-\-max\-concurrent\-downloads=N
 \-j, \-\-max\-concurrent\-downloads=N
 .RS 4
 .RS 4
 Set maximum number of parallel downloads\. Default:
 Set maximum number of parallel downloads\. Default:
-\fI1\fR
+\fI5\fR
 .RE
 .RE
 .PP
 .PP
 \-\-check\-integrity=\fItrue\fR|\fIfalse\fR
 \-\-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
 \-C, \-\-metalink\-servers=NUM_SERVERS
 .RS 4
 .RS 4
 The number of servers to connect to simultaneously\. Some metalinks regulates the number of servers to connect\. aria2 respects them\. Default:
 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
 .RE
 .PP
 .PP
 \-\-metalink\-language=LANGUAGE
 \-\-metalink\-language=LANGUAGE
@@ -789,7 +789,7 @@ Download a file using a local .metalink file with user preference
 .sp
 .sp
 .RS 4
 .RS 4
 .nf
 .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
 .fi
 .RE
 .RE
 .RE
 .RE

+ 4 - 4
doc/aria2c.1.html

@@ -355,7 +355,7 @@ div#toc a:visited { color: blue; }
 <dd>
 <dd>
 <p>
 <p>
   Set maximum number of parallel downloads.
   Set maximum number of parallel downloads.
-  Default: <em>1</em>
+  Default: <em>5</em>
 </p>
 </p>
 </dd>
 </dd>
 <dt>
 <dt>
@@ -891,7 +891,7 @@ writes the piece to the appropriate files.</td>
   The number of servers to connect to simultaneously.
   The number of servers to connect to simultaneously.
   Some metalinks regulates the number of servers to connect.
   Some metalinks regulates the number of servers to connect.
   aria2 respects them.
   aria2 respects them.
-  Default: <em>1</em>
+  Default: <em>5</em>
 </p>
 </p>
 </dd>
 </dd>
 <dt>
 <dt>
@@ -1265,7 +1265,7 @@ directory.</td>
 <h4>Download a file using a local .metalink file with user preference</h4>
 <h4>Download a file using a local .metalink file with user preference</h4>
 <div class="listingblock">
 <div class="listingblock">
 <div class="content">
 <div class="content">
-<pre><tt>aria2c --metalink-location=JP,US --metalink-version=1.1 --metalink-language=en-US -C2 file.metalink</tt></pre>
+<pre><tt>aria2c --metalink-location=JP,US --metalink-version=1.1 --metalink-language=en-US file.metalink</tt></pre>
 </div></div>
 </div></div>
 <h3>BitTorrent Download</h3>
 <h3>BitTorrent Download</h3>
 <h4>Download files from remote BitTorrent file</h4>
 <h4>Download files from remote BitTorrent file</h4>
@@ -1548,7 +1548,7 @@ files in the program, then also delete it here.</p>
 </div>
 </div>
 <div id="footer">
 <div id="footer">
 <div id="footer-text">
 <div id="footer-text">
-Last updated 16-May-2008 00:55:34 JST
+Last updated 19-May-2008 21:34:04 JST
 </div>
 </div>
 </div>
 </div>
 </body>
 </body>

+ 3 - 3
doc/aria2c.1.txt

@@ -33,7 +33,7 @@ Basic Options
 
 
 -j, --max-concurrent-downloads=N::
 -j, --max-concurrent-downloads=N::
   Set maximum number of parallel downloads.
   Set maximum number of parallel downloads.
-  Default: '1'
+  Default: '5'
 
 
 --check-integrity='true'|'false'::
 --check-integrity='true'|'false'::
   Check file integrity by validating piece hash.
   Check file integrity by validating piece hash.
@@ -302,7 +302,7 @@ Metalink Specific Options
   The number of servers to connect to simultaneously.
   The number of servers to connect to simultaneously.
   Some metalinks regulates the number of servers to connect.
   Some metalinks regulates the number of servers to connect.
   aria2 respects them.
   aria2 respects them.
-  Default: '1'
+  Default: '5'
 
 
 --metalink-language=LANGUAGE::
 --metalink-language=LANGUAGE::
   The language of the file to download.
   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
 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
 BitTorrent Download

+ 2 - 2
src/option_processing.cc

@@ -80,7 +80,7 @@ Option* createDefaultOption()
   op->put(PREF_DAEMON, V_FALSE);
   op->put(PREF_DAEMON, V_FALSE);
   op->put(PREF_SEGMENT_SIZE, Util::itos((int32_t)(1024*1024)));
   op->put(PREF_SEGMENT_SIZE, Util::itos((int32_t)(1024*1024)));
   op->put(PREF_LISTEN_PORT, "6881-6999");
   op->put(PREF_LISTEN_PORT, "6881-6999");
-  op->put(PREF_METALINK_SERVERS, "1");
+  op->put(PREF_METALINK_SERVERS, "5");
   op->put(PREF_FOLLOW_TORRENT,
   op->put(PREF_FOLLOW_TORRENT,
 #ifdef ENABLE_BITTORRENT
 #ifdef ENABLE_BITTORRENT
 	  V_TRUE
 	  V_TRUE
@@ -124,7 +124,7 @@ Option* createDefaultOption()
   op->put(PREF_CONTINUE, V_FALSE);
   op->put(PREF_CONTINUE, V_FALSE);
   op->put(PREF_USER_AGENT, "aria2");
   op->put(PREF_USER_AGENT, "aria2");
   op->put(PREF_NO_NETRC, V_FALSE);
   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_DIRECT_DOWNLOAD_TIMEOUT, "300");
   op->put(PREF_FORCE_SEQUENTIAL, V_FALSE);
   op->put(PREF_FORCE_SEQUENTIAL, V_FALSE);
   op->put(PREF_AUTO_FILE_RENAMING, V_TRUE);
   op->put(PREF_AUTO_FILE_RENAMING, V_TRUE);