Bläddra i källkod

2010-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

	Documented about Metalink4 and LPD in README
	* RADME
Tatsuhiro Tsujikawa 15 år sedan
förälder
incheckning
725c46de25
3 ändrade filer med 45 tillägg och 10 borttagningar
  1. 5 0
      ChangeLog
  2. 17 5
      README
  3. 23 5
      README.html

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2010-03-13  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
+
+	Documented about Metalink4 and LPD in README
+	* RADME
+
 2010-03-13  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 2010-03-13  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 
 
 	Few adjustment for timeouts in DHT. DHT message timeout is changed
 	Few adjustment for timeouts in DHT. DHT message timeout is changed

+ 17 - 5
README

@@ -24,6 +24,7 @@ Here is a list of features.
 * Command-line interface
 * Command-line interface
 * Download files through HTTP(S)/FTP/BitTorrent
 * Download files through HTTP(S)/FTP/BitTorrent
 * Segmented downloading
 * Segmented downloading
+* Metalink version 4 http://www.ietf.org/id/draft-bryan-metalink-28.txt
 * Metalink version 3.0 support(HTTP/FTP/BitTorrent)
 * Metalink version 3.0 support(HTTP/FTP/BitTorrent)
 * HTTP/1.1 implementation
 * HTTP/1.1 implementation
 * HTTP Proxy support
 * HTTP Proxy support
@@ -46,6 +47,7 @@ Here is a list of features.
 * BitTorrent http://getright.com/seedtorrent.html[WEB-Seeding]. aria2
 * BitTorrent http://getright.com/seedtorrent.html[WEB-Seeding]. aria2
   requests chunks more than piece size to reduce the request
   requests chunks more than piece size to reduce the request
   overhead. It also supports pipelined requests with piece size.
   overhead. It also supports pipelined requests with piece size.
+* BitTorrent Local Peer Discovery
 * Rename/change the directory structure of BitTorrent downloads
 * Rename/change the directory structure of BitTorrent downloads
   completely
   completely
 * XML-RPC interface
 * XML-RPC interface
@@ -202,13 +204,15 @@ Other things should be noted
 
 
 Metalink
 Metalink
 --------
 --------
+
 The current implementation supports HTTP(S)/FTP/BitTorrent.  The other
 The current implementation supports HTTP(S)/FTP/BitTorrent.  The other
-P2P protocols are ignored.
+P2P protocols are ignored. Both Metalink4 and Metalink version 3.0
+documents are supported.
 
 
-For checksum verification, MD5, SHA1, and SHA256 are supported. If 
-multiple hash algorithms are provided, aria2 uses SHA1. If whole file
-checksum verification fails, aria2 doesn't retry the download and just 
-exits with non-zero return code.
+For checksum verification, MD5, SHA1, and SHA256 are supported. If
+multiple hash algorithms are provided, aria2 uses stronger one. If
+whole file checksum verification fails, aria2 doesn't retry the
+download and just exits with non-zero return code.
 
 
 The supported user preferences are version, language, location,
 The supported user preferences are version, language, location,
 protocol and os.
 protocol and os.
@@ -222,6 +226,14 @@ after the completion of the download.  The filename is download
 filename + ".sig". If same file already exists, the signature file is
 filename + ".sig". If same file already exists, the signature file is
 not saved.
 not saved.
 
 
+In Metalink4, multi-file torrent could appear in metalink:metaurl
+element.  Since aria2 cannot download 2 same torrents at the same
+time, aria2 groups files in metalink:file element which has same
+BitTorrent metaurl and downloads them from a single BitTorrent swarm.
+This is basically multi-file torrent download with file selection, so
+the adjacent files which is not in Metalink document but shares same
+piece with selected file are also created.
+
 netrc
 netrc
 -----
 -----
 netrc support is enabled by default for HTTP(S)/FTP.  To disable netrc
 netrc support is enabled by default for HTTP(S)/FTP.  To disable netrc

+ 23 - 5
README.html

@@ -583,6 +583,11 @@ Segmented downloading
 </li>
 </li>
 <li>
 <li>
 <p>
 <p>
+Metalink version 4 <a href="http://www.ietf.org/id/draft-bryan-metalink-28.txt">http://www.ietf.org/id/draft-bryan-metalink-28.txt</a>
+</p>
+</li>
+<li>
+<p>
 Metalink version 3.0 support(HTTP/FTP/BitTorrent)
 Metalink version 3.0 support(HTTP/FTP/BitTorrent)
 </p>
 </p>
 </li>
 </li>
@@ -677,6 +682,11 @@ BitTorrent <a href="http://getright.com/seedtorrent.html">WEB-Seeding</a>. aria2
 </li>
 </li>
 <li>
 <li>
 <p>
 <p>
+BitTorrent Local Peer Discovery
+</p>
+</li>
+<li>
+<p>
 Rename/change the directory structure of BitTorrent downloads
 Rename/change the directory structure of BitTorrent downloads
   completely
   completely
 </p>
 </p>
@@ -981,11 +991,12 @@ As of release 0.10.0, aria2 stops sending request message after
 <h2 id="_metalink">6. Metalink</h2>
 <h2 id="_metalink">6. Metalink</h2>
 <div class="sectionbody">
 <div class="sectionbody">
 <div class="paragraph"><p>The current implementation supports HTTP(S)/FTP/BitTorrent.  The other
 <div class="paragraph"><p>The current implementation supports HTTP(S)/FTP/BitTorrent.  The other
-P2P protocols are ignored.</p></div>
+P2P protocols are ignored. Both Metalink4 and Metalink version 3.0
+documents are supported.</p></div>
 <div class="paragraph"><p>For checksum verification, MD5, SHA1, and SHA256 are supported. If
 <div class="paragraph"><p>For checksum verification, MD5, SHA1, and SHA256 are supported. If
-multiple hash algorithms are provided, aria2 uses SHA1. If whole file
-checksum verification fails, aria2 doesn&#8217;t retry the download and just
-exits with non-zero return code.</p></div>
+multiple hash algorithms are provided, aria2 uses stronger one. If
+whole file checksum verification fails, aria2 doesn&#8217;t retry the
+download and just exits with non-zero return code.</p></div>
 <div class="paragraph"><p>The supported user preferences are version, language, location,
 <div class="paragraph"><p>The supported user preferences are version, language, location,
 protocol and os.</p></div>
 protocol and os.</p></div>
 <div class="paragraph"><p>If chunk checksums are provided in Metalink file, aria2 automatically
 <div class="paragraph"><p>If chunk checksums are provided in Metalink file, aria2 automatically
@@ -995,6 +1006,13 @@ off by a command-line option.</p></div>
 after the completion of the download.  The filename is download
 after the completion of the download.  The filename is download
 filename + ".sig". If same file already exists, the signature file is
 filename + ".sig". If same file already exists, the signature file is
 not saved.</p></div>
 not saved.</p></div>
+<div class="paragraph"><p>In Metalink4, multi-file torrent could appear in metalink:metaurl
+element.  Since aria2 cannot download 2 same torrents at the same
+time, aria2 groups files in metalink:file element which has same
+BitTorrent metaurl and downloads them from a single BitTorrent swarm.
+This is basically multi-file torrent download with file selection, so
+the adjacent files which is not in Metalink document but shares same
+piece with selected file are also created.</p></div>
 </div>
 </div>
 <h2 id="_netrc">7. netrc</h2>
 <h2 id="_netrc">7. netrc</h2>
 <div class="sectionbody">
 <div class="sectionbody">
@@ -1026,7 +1044,7 @@ man aria2c
 <div id="footnotes"><hr /></div>
 <div id="footnotes"><hr /></div>
 <div id="footer">
 <div id="footer">
 <div id="footer-text">
 <div id="footer-text">
-Last updated 2009-12-06 17:57:59 JST
+Last updated 2010-03-13 00:29:44 JST
 </div>
 </div>
 </div>
 </div>
 </body>
 </body>