Przeglądaj źródła

2010-08-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

	Added a note about the number of connections to help message.
	* src/version_usage.cc
Tatsuhiro Tsujikawa 15 lat temu
rodzic
commit
98c5a86684
2 zmienionych plików z 11 dodań i 0 usunięć
  1. 5 0
      ChangeLog
  2. 6 0
      src/version_usage.cc

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2010-08-29  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
+
+	Added a note about the number of connections to help message.
+	* src/version_usage.cc
+
 2010-08-29  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 
 	Run PeerLookupTask more frequently when the number of peer is low.

+ 6 - 0
src/version_usage.cc

@@ -142,6 +142,12 @@ void showUsage(const std::string& keyword, const OptionParser& oparser) {
               << _(" Make sure that URI is quoted with single(\') or double(\") quotation if it\n"
                    " contains \"&\" or any characters that have special meaning in shell.") << "\n"
               << "\n";
+    std::cout << "About the number of connections\n"
+              << " Since 1.10.0 release, aria2 uses 1 connection per host by default and has 20MiB\n"
+              << " segment size restriction. So whatever value you specify using -s option, it\n"
+              << " uses 1 connection per host. To make it behave like 1.9.x, use\n"
+              << " --max-connection-per-server=4 --min-split-size=1M.\n"
+              << "\n";
   }
   std::cout << _("Refer to man page for more information.") << std::endl;
 }