mirror of
https://github.com/aria2/aria2.git
synced 2026-04-02 10:55:00 +00:00
* src/Xml2MetalinkProcessor.h (xpathExists): New function. * src/Xml2MetalinkProcessor.cc (xpathExists): New function. Not to send HEAD request if filename and size are available in Metalink file: * src/UrlRequestInfo.h (filename): New variable. (totalLength): New variable. (setTotalLength): New function. (setFilename): New function. * src/MetalinkRequestInfo.cc (execute): Set filename and size to UrlRequestInfo. * src/MetalinkEntry.cc (MetalinkEntry): Initialize size with 0. * src/UrlRequestInfo.cc (execute): Set filename and size to SegmentMan. Not to download rest of the files after selected files are downloaded in BitTorrent: * src/PieceStorage.h (allDownloadFinished): New function. * src/DefaultBtAnnounce.cc (isCompleteAnnounceReady): Use allDownloadFinished instead of downloadFinished. (getAnnounceUrl): Use allDownloadFinished instead of downloadFinished. * src/DefaultPieceStorage.cc (completePiece): Use allDownloadFinished instead of downloadFinished. Commented out the call to finishSelectiveDownloadingMode(). (downloadFinished): Call isFilteredAllBitSet() instead of isAllBitSet(). (allDownloadFinished): New function. * src/DefaultBtInteractive.cc (addBitfieldMessageToQueue): Call allDownloadFinished() instead of downloadFinished(). (checkHave): Call allDownloadFinished() instead of downloadFinished(). * src/TorrentDownloadEngine.cc (onEndOfRun): Call allDownloadFinished() instead of downloadFinished(). * src/BitfieldMan.h (isFilteredAllBitSet): New function. * src/ShareRatioSeedCriteria.h (PieceStorage.h): New include. (pieceStorage): New variable. (evaluate): btContext->getTotalLength() -> pieceStorage->getCompletedLength() * src/BitfieldMan.cc (isFilteredAllBitSet): New function. (isAllBitSet): Filter is not took into account. Rename --force-truncate as --allow-overwrite: * src/TorrentRequestInfo.cc (execute): PREF_FORCE_TRUNCATE -> PREF_ALLOW_OVERWRITE * src/main.cc (showUsage): --force-truncate -> --allow-overwrite * src/message.h (EX_FILE_ALREADY_EXISTS): --force-truncate -> --allow-overwrite * src/prefs.h (PREF_FORCE_TRUNCATE): Removed. (PREF_ALLOW_OVERWRITE): New definition. * src/SegmentMan.cc (shouldCancelDownloadForSafety): --force-truncate -> --allow-overwrite * src/MetalinkRequestInfo.cc (execute): Queueing message are now logged in info level. * src/common.h (LONG_LONG_MAX): Removed. (LONG_LONG_MIN): Removed. * src/HttpResponseCommand.cc (handleDefaultEncoding): LONG_LONG_MAX -> INT64_MAX * src/FtpNegotiateCommand.cc (recvSize): LONG_LONG_MAX -> INT64_MAX * src/main.cc (showUsage): Added --check-integiry and --realtime-chunk-checksum command-line option. (main): Added --check-integiry and --realtime-chunk-checksum command-line option. --force-truncate -> --allow-overwrite Set initial value of --check-integrity option to false. Don't show usage when error occurs while persing command-line options. Removed deprecated --upload-limit option.
42 lines
1.5 KiB
XML
42 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<metalink version="3.0" xmlns="http://www.metalinker.org/">
|
|
<publisher>
|
|
<name>aria2</name>
|
|
<url>http://aria2.sourceforge.net/</url>
|
|
</publisher>
|
|
<description>The high speed download utility</description>
|
|
<files>
|
|
<file name="aria2-0.5.2.tar.bz2">
|
|
<version>0.5.2</version>
|
|
<language>en-US</language>
|
|
<os>Linux-x86</os>
|
|
<verification>
|
|
<hash type="md5">fc4d834e89c18c99b2615d902750948c</hash>
|
|
<hash type="sha1">a96cf3f0266b91d87d5124cf94326422800b627d</hash>
|
|
</verification>
|
|
<resources>
|
|
<url type="ftp" location="jp" preference="100">ftp://ftphost/aria2-0.5.2.tar.bz2</url>
|
|
<url type="http" location="us" preference="100">http://httphost/aria2-0.5.2.tar.bz2</url>
|
|
</resources>
|
|
</file>
|
|
<file name="aria2-0.5.1.tar.bz2">
|
|
<size>345689</size>
|
|
<version>0.5.1</version>
|
|
<language>ja-JP</language>
|
|
<os>Linux-m68k</os>
|
|
<verification>
|
|
<hash type="md5">92296e19c406d77d21bda0bb944eac46</hash>
|
|
<hash type="sha1">4c255b0ed130f5ea880f0aa061c3da0487e251cc</hash>
|
|
<pieces length="262144" type="sha1">
|
|
<hash piece="0">179463a88d79cbf0b1923991708aead914f26142</hash>
|
|
<hash piece="1">fecf8bc9a1647505fe16746f94e97a477597dbf3</hash>
|
|
</pieces>
|
|
</verification>
|
|
<resources>
|
|
<url type="ftp" preference="100">ftp://ftphost/aria2-0.5.1.tar.bz2</url>
|
|
<url type="http" preference="100">http://httphost/aria2-0.5.1.tar.bz2</url>
|
|
</resources>
|
|
</file>
|
|
</files>
|
|
</metalink>
|