NEWS 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. aria2 1.16.2
  2. ============
  3. Release Note
  4. ------------
  5. This release fixes the bug which causes long running BitTorrent
  6. download to stall. The several new options have been added.
  7. Changes
  8. -------
  9. * Check SSL_OP_NO_COMPRESSION is available before using it
  10. * Fix bug returnPeer is not called if sequence_ == INITIATOR_SEND_KEY
  11. In InitiatorMSEHandshakeCommand, when aborting connection, we must
  12. return peer to the PeerStorage. But it is not done if sequence_ is
  13. INITIATOR_SEND_KEY. This causes stale Peer objects whose usedBy()
  14. returns true eventually occupies peer list and aria2 cannot make any
  15. connections.
  16. * Accept k and m as well as K and M in util::getRealSize()
  17. * mingw32: Make NTFS sparse file on --file-allocation=trunc
  18. * Added --save-session-interval option
  19. --save-session-interval option saves error/unfinished downloads to a
  20. file specified by --save-session option every SEC seconds. If 0 is
  21. given, file will be saved only when aria2 exits.
  22. * Use request URI as referer if --referer="*" is given
  23. * Log warn if unknown option is found in config file or -i file
  24. * Added --console-log-level option
  25. --console-log-level option sets log level to output to console.
  26. aria2 1.16.1
  27. ============
  28. Release Note
  29. ------------
  30. This release adds the ability to persist GID across sessions. The GID
  31. will be saved with --save-session. There are several restrictions how
  32. GID is persisted. See the manual for details. For this change, now GID
  33. is 64 bits binary data and represented by 16 characters hex string in
  34. RPC query. The disk cache feature was added, which may reduce disk
  35. activity. The console readout was redesigned. The warning displayed
  36. when --file-allocation=falloc is used on MinGW32 build was removed as
  37. a bug.
  38. Changes
  39. -------
  40. * mingw32: Re-open files with read-only mode enabled on seeding
  41. On Mingw32 build, if aria2 opens file with GENERIC_WRITE access
  42. right, some programs cannot open the file aria2 is seeding. To avoid
  43. this situation, re-open files with read-only enabled when seeding is
  44. about to begin.
  45. * Save gid option with --save-session option
  46. * Added --gid option
  47. This option sets GID manually. aria2 identifies each download by the
  48. ID called GID. The GID must be hex string of 16 characters, thus
  49. [0-9a-zA-Z] are allowed and leading zeros must not be stripped. The
  50. GID all 0 is reserved and must not be used. The GID must be unique,
  51. otherwise error is reported and the download is not added. This
  52. option is useful when restoring the sessions saved using
  53. --save-session option. If this option is not used, new GID is
  54. generated by aria2.
  55. * Use 64 bits random bytes as GID
  56. This change replaces the current 64 bit sequential GID with 64 bits
  57. random bytes GID in an attempt to support persistent
  58. GID. Internally, the GID is stored as uint64_t. For human
  59. representation and RPC interface, GID is represented as 16 bytes hex
  60. string. For console readout, 16 bytes are too long, so it is
  61. abbreviated to first 6 bytes. When querying GID in RPC calls, user
  62. can speicfy the prefix of GID as long as the prefix is shared by
  63. more than 1 GID entries.
  64. * Fixed BitfieldMan::getOffsetCompletedLength overflow on 32-bit systems
  65. * mingw32: Use HANDLE only for MinGW32 build
  66. * Changed console readout, making it more compact
  67. "SIZE:" is removed because it is obvious. SEEDING, SEED, SPD and UP
  68. are now replaced with SEED, SD, DL and UL respectively.
  69. * Compact readout when more than 1 simultaneous downloads are going on
  70. If more than 1 simultaneous downloads are going on, use more compact
  71. format in readout. Currently, at most 5 download stats are
  72. displayed.
  73. util::abbrevSize() is rewritten to support "Gi" unit and provides
  74. more compact abbreviation.
  75. * Console color output
  76. Log level and download result string is now colored.
  77. * Logger: Simplified console output and change level format in log
  78. The date and time are now removed from console output. The log
  79. level is now formatted as "[LEVEL]".
  80. * Start to find faster host before the number of missing segments becomes 1
  81. The old implementation starts to find faster host when the number of
  82. missing segment becomes 1. Because of --min-split-size option,
  83. before the number of missing segment becomes 1, the number of
  84. connection becomes 1 and it can be slow. In this case, we have to
  85. wait until the last segment is reached. The new implementation
  86. starts to find faster host when the remaining length is less than
  87. --min-split-size * 2, to mitigate the problem stated above.
  88. * Removed warning when --file-allocation=falloc is used in MinGW32 build
  89. The warning was just a mistake. SetFilePointerEx + SetEndOfFile
  90. actually allocate disk space.
  91. * Write data in 4K aligned offset in write with disk cache enabled
  92. This greatly reduces disk activity especially on Win + NTFS. Not so
  93. much difference on Linux.
  94. * mingw32: Removed FSCTL_SET_SPARSE set
  95. * Added --disk-cache option
  96. This option enables disk cache. If SIZE is 0, the disk cache is
  97. disabled. This feature caches the downloaded data in memory, which
  98. grows to at most SIZE bytes. The cache storage is created for aria2
  99. instance and shared by all downloads. The one advantage of the disk
  100. cache is reduce the disk seek time because the data is written in
  101. larger unit and it is reordered by the offset of the file. If the
  102. underlying file is heavily fragmented it is not the case.
  103. aria2 1.16.0
  104. ============
  105. Release Note
  106. ------------
  107. This release adds SSL/TLS encryption support in RPC transport. The new
  108. RPC method aria2.appendUri is added, which is a wrapper to
  109. aria2.changeUri. The Content-Disposition parser is now RFC 6266
  110. conformant. The resource leak in XmlParser, JSON and Bencode parser
  111. was fixed. The uploaded data size calculation bug was fixed. For
  112. MinGW32 build, files are now opened with read/write shared mode.
  113. Changes
  114. -------
  115. * mingw32: Open file using _wsopen and added --enable-mmap support
  116. I tried CreateFile but the subsequent ReadFile fails with Access
  117. Denied if sparse file is read on NTFS. I mostly reverted previous
  118. changes and use _wsopen with read/write share enabled instead of
  119. CreateFile.
  120. This change also includes --enable-mmap support for MinGW32
  121. build. Memory mapped file may be useful for 64-bits OS and lots of
  122. RAM. Currently, FlushViewOfFile is not called during the download,
  123. so it is slightly vulnerable against sudden power loss. I found lots
  124. of read when resuming download due to page fault. So for now it is
  125. useful for the initial download. I recommend not to use
  126. --file-allocation=prealloc with --enable-mmap for MinGW32, because
  127. it triggers page faults even in the initial download. Anyway, the
  128. option is experimental.
  129. * Removed PO files and generated aria2.pot from repository
  130. Currently, message translation is done at launchpad. All PO files
  131. can be exported from there. The merge process from launchpad is done
  132. when new release. First download export file from launchpad And use
  133. import-po script to import PO files into po directory.
  134. * Set F_GLOBAL_NOCACHE for Mac OS X
  135. * Enabled TCP_NODELAY
  136. * Don't use AC_FUNC_MMAP
  137. Don't use AC_FUNC_MMAP becaue it fails on some platforms (e.g.,
  138. OpenWRT) which have mmap and it works in the way we use in aria2.
  139. Instead use mmap in AC_CHECK_FUNCS list.
  140. * Added --force-save option.
  141. --force-save option saves download with --save-session option even
  142. if the download is completed or removed. This may be useful to save
  143. BitTorrent seeding which is recognized as completed state. The
  144. default value is false.
  145. * Get the correct uploaded data size
  146. Subtract msgHdrLen_ from writtenLength to get the uploaded data
  147. size. Without this correction, the seeder assumes it has uploaded
  148. more data than it actually has.
  149. * Made --http-no-cache false by default
  150. * Fixed memory leak in AsyncNameResolver
  151. * Fixed resource leak in XmlParser and GenericParser
  152. * Reset iostream format state
  153. * gnutls: Added more status checking when verifying peer
  154. * Content-Disposition parser conforming to RFC 6266.
  155. RFC 2231 Continuation is not supported.
  156. * Reworked download/upload statistics calculation
  157. The old implementation calculates download/upload statistics for a
  158. RequestGroup by summing up all PeerStat objects. For global
  159. statistics, those are summed together. This clearly incurs runtime
  160. penalty and we introduced some kind of caching which updates
  161. statistics every 250ms but it did not work right.
  162. This change removes all these aggregation code, and instead makes
  163. RequestGroup and RequestGroupMan objects hold NetStat object and
  164. download/upload bytes are directly calculated by thier own NetStat.
  165. This is far more simplar than the old way and less runtime penalty
  166. and brings more accuracy.
  167. * Added --rpc-save-upload-metadata option
  168. If true is given, which is default, save the uploaded torrent or
  169. metalink metadata in the directory specified by --dir option. The
  170. filename consists of SHA1-hash hex string of metadata plus
  171. extension. For torrent, the extension is '.torrent'. For metalink,
  172. it is '.meta4'. If false is given to this option, the downloads
  173. added by aria2.addTorrent or aria2.addMetalink will not be saved by
  174. --save-session option.
  175. * Perform SSL/TLS handshake after checking whether connection is established
  176. * Fixed bug that --enable-mmap won't work if MultiDiskAdaptor is used
  177. * RPC over SSL/TLS transport
  178. To enable RPC over SSL/TLS, specify server certificate and private
  179. key using --rpc-certificate and --rpc-private-key options and enable
  180. --rpc-secure option. After the encryption is enabled, use https and
  181. wss scheme to access RPC server.
  182. * aria2rpc: Added appendUri command
  183. This command calls aria2.changeUri(GID, fileIndex, [], [URI,...])
  184. internally.
  185. * Don't send Proxy-Connection header field
  186. * Don't set SNI hostname if it does not include "." for GNUTLS
  187. * Disable SSL/TLS compression with OpenSSL
  188. * Pause download even if download is completed
  189. This allows to pause and unpause BitTorrent seed.
  190. * Use execlp() instead of execl()