Updated NEWS for 1.3.0

This commit is contained in:
Tatsuhiro Tsujikawa 2009-03-13 14:31:04 +00:00
parent a64432fe35
commit 9e79fcbbb2

166
NEWS
View File

@ -1,131 +1,79 @@
aria2 1.2.0 aria2 1.3.0
=========== ===========
Release Note Release Note
------------ ------------
This release adds the AdaptiveURISelector from Mandriva developers and This release adds the ability to specify the output filenames in
changes the default value of --proxy-method option from 'tunnel' to BitTorrent downloads and the option to limit overall download speed
'get'. The several BitTorrent options were added: limiting the number and dry run mode which just checks the availability of the remove
of peers, choosing port randomly from specified range, a toggle to file. -i list option can now take more options: select-file and
seed after successful hash check and specifying IP address to report index-out. The default behavior of sending HTTP Authorization header
to a tracker. Hash checking is now done sequentially rather than is reverted back to version 1.1.2 style. The bug in
simultaneously. HTTP Authorization was also refined so that now AdaptiveURISelector was fixed. You can now seed read-only files in
authorization header is sent to the server only when it is BitTorrent.
requested(there are some exceptions, see Changes below). aria2 now
returns exit code depending on the last error. All exit codes are Indonesian, Russian, Italian, Ukrainian and Simplified Chinese
documented in man page. This release also adds experimental built-in
HTTP server which provides the current download progress in plain
html. Indonesian, Italian, Japanese, Russian, Spanish and Ukrainian
translations were updated. translations were updated.
Changes Changes
------- -------
* Updated Indonesian, Italian, Japanese, Russian, Spanish and * Changed the default value of --uri-selector option from 'inorder' to
Ukrainian translations. Thanks to all translators. 'feedback'
* Included current URI in exception message.
* Fixed the bug that AdaptiveURISelector doesn't select any URI when
all URIs are tested and their timeout is not reached.
* Fixed the segmentation fault during execution of choking algorithm * Reuse URIs when all unused URIs run out.
in leecher state because of broken compare operator implementation.
* Open file in binary mode. This fixes the bug that local torrent file * Removed --direct-file-mapping option and CopyDiskAdaptor.
doesn't work on win32.
* Added a check to see struct sockaddr_in has sin_len member. Set * Added --dry-run option. In this mode, aria2 just checks whether
struct sockaddr_in.sin_len if HAVE_SOCKADDR_IN_SIN_LEN is defined. the remote file is available and doesn't download data. This
option has effect on HTTP/FTP downloads and BitTorrent downloads
are canceled in this mode.
* Fixed possible buffer overrun when writing dht.dat. * Parse options in -i list using OptionParser.
* Fix epoll error on the old kernel 2.6.8 or ealier. * Don't reset URI in retry to avoid additional round trips because
of redirects.
* Fixed the bug that adding 0 length filter to BitfieldMan filters 1 * Added --index-out option to specify each file path for torrent.
block. It should not filter anything. Here index shown in --show-files option is used to specify which
file path should be altered. For example, to change the file path
with index=2, use --index-out=2=aria2.tar.bz2. You can use this
option multiple times: --index-out=1=aria2.tar.bz2
--index-out=2=aria2-opt.tar.bz2. The short hand form -O is also
available. This option can be specified in -i list.
* Fixed broken selected file BitTorrent download. * Added --max-overall-download-limit option. Now --max-upload-limit
option is not ignored when --max-overall-upload-limit option has
non-zero value. aria2 checks download(upload) speed in the order:
first checks overall speed limit and if it is not exceeded, then
checks speed limit per download. Thus you can specify both
value. For example, set --max-overall-download-limit=1M and
--max-download-limit=500K to prevent from one download from eating
all overall speed limit.
* Changed the default value of --proxy-method option from 'tunnel' to * Now select-file can be specified in the uri list(-i list).
'get'. Use 'tunnel' for HTTPS regardless of --proxy-method option.
* Added --bt-external-ip option. You can specify the external IP * Made the upper value of --max-concurrent-downloads options unlimited.
address to report to a BitTorrent tracker. Although this function is
named 'external', it can accept any kind of IP addresses.
* Applied AdaptiveURISelector-timeout patch from Pascal Rigaux at * Fixed the bug that disk writer is not created even if it shares same
Mandriva. I modified the patch: make RequestGroup have the timeout piece with the preceding file if the length of previous file is 0.
value and AdaptiveURISelector directly modifies that value.
* Use LongestSequencePieceSelector for HTTP/FTP/BitTorrent integrated * In BitTorrent, Open files in read-only mode for hash check. After
downloads. This PieceSelector subclass finds the longest continuous that, re-open file in read/write mode only when the download is
sequence in the available missing pieces and selects the last index not finished.
of such sequence. This makes HTTP/FTP connections less interrupted
by the pieces obtained by BitTorrent peers.
* Fixed the bug that the average speed is wrong in http/ftp/BitTorrent * Added --http-auth-challenge option. If it is set to true, aria2
integrated download. Only the download bytes in BitTorrent were sends HTTP authorization header only when it is requested by the
considered. server. If false is set, then authorization header is always sent to
the server. This is useful for servers that don't respond 401 code
* Choose port for BitTorrent/DHT randomly from the specified range. when authentication is required. There is an exception: if username
REQUEST#2543518 and password are embedded in URI, authorization header is always
sent to the server regardless of this option. The default value of
* Send HTTP Authorization header only if it is requested by the this option is false.
server(response 401). There are some exceptions. The authorization
header for proxy is always sent if it is available without request
by the server. If username/password is specified in the URI, it is
immediately sent to the server without request by the server.
Implements REQUEST#2540844.
* Remove leading "--" from help keyword and a substring after "=" from
help keyword, so that one can query options by '-h--max-' or
'-hmax-peers=10'.
* Added experimental built-in HTTP server. Currently, when a client
accesses to the server, it responds with the current download
progress. By default, it is disabled. To enable the server, give
--enable-http-server option. To change the default port number for
the server to listen to, use --http-server-listen-port option. The
response HTML is very simple and refreshes it self each 1 second.
Because of this refresh, you see flicker in normal web browser such
as Firefox. I recommend to use console-based browser such as
elinks, w3m. To connect to the server, run 'elinks
http://localhost:6800/' while running aria2. Please replace port
number '6800'(which is default) with your preference.
* Made (piece) hash check sequential for each RequestGroup because
simultaneous hash check is slower than sequential execution.
* Added --bt-max-peers option to specify the maximum number of peers
per torrent. 0 means unlimited number of peers. REQUEST#2451382
* Added --bt-hash-check-seed option. If true is given to this option,
after hash check using --check-integrity option and file is
complete, continue to seed file. If you want to check file and
download it only when it is damaged or incomplete, set this option
to false. This option has effect only on BitTorrent download. The
default value is true(This is the same behavior with the previous
release).
* Made the max value of split option unlimited. REQUEST#2496748
* Added --event-poll option to select the method for polling events.
The available methods are "select" and "epoll". "epoll" is
available on Linux only. The earlier release has the compile
option to choose from these methods.
* Included RecoverableException.h from main.cc. BUG#2498160
* Applied exit-status patch from Pascal Rigaux at Mandriva. aria2 now
returns last error encountered in the HTTP/FTP downloads as a exit
status value. If all downloads finished successfully, aria2 returns
0. The error code is defined in src/DownloadResult.h. The error
occurred in the download currently in progress is not reported as a
last error. If no error has encountered but there are in progress
or waiting downloads, aria2 returns 7.
* Applied AdaptiveURISelector patch from Aurelien Lefebvre. This
patch adds AdaptiveURISelector, which selects one of the bests
mirrors for first and reserved connections. For supplementary
ones, it returns mirrors which has not been tested yet, and if
each of them already tested, returns mirrors which has to be
tested again. Otherwise, it doesn't return anymore mirrors.
* Fixed unit test error in HTTPResponseTest. PATCH#2485509