2016-02-14 14:23:17 +00:00
|
|
|
aria2 1.20.0
|
2015-12-05 13:24:49 +00:00
|
|
|
============
|
|
|
|
|
|
|
|
Release Note
|
|
|
|
------------
|
|
|
|
|
|
|
|
This release fixes lots of bugs. See the Changes section below.
|
2016-02-14 14:23:17 +00:00
|
|
|
There are new features in this release. We added "seeder" key in
|
|
|
|
aria2.tellStatus RPC response. We added system.listMethods RPC method
|
|
|
|
to return all RPC method supported. We added --max-mmap-limit option
|
|
|
|
to avoid mmap if total file size is greater than given size.
|
2015-12-05 13:24:49 +00:00
|
|
|
|
|
|
|
Changes
|
|
|
|
-------
|
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* src/WinConsoleFile.cc: fix colour
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
Set default foreground/background colour correctly
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
Patch from kwkam
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* configure.ac: fix autoreconf error
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
Use m4_ifdef so we do not have to install optional libraries
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
Patch from kwkam
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Don't inherit file descriptor to child process
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
For non-Mingw32 build, set FD_CLOEXEC to file descriptors which live
|
|
|
|
beyond function scope. For Mingw32 build, just pass false to
|
|
|
|
bInheritHandles parameter of CreateProcessW.
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Update Russian version documentation
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
Patch from ITriskTI
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Add "seeder" key to tellStatus RPC response
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* WinTLS: Fix hang because of buffered received data
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
WinTLSSession buffers received decrypted data into its own buffer.
|
|
|
|
If read is requested, it copies the data from its buffer. But if
|
|
|
|
requested buffer size is less than decrypted buffer, some of the
|
|
|
|
data is left in the buffer. Previously, we had no facility to check
|
|
|
|
the existence of this pending data. If this data is the last
|
|
|
|
requested data from remote server, we may end up waiting for read
|
|
|
|
event even if we have already data in our buffer, which may cause
|
|
|
|
hang. This commit fixes this issue by introducing function to
|
|
|
|
return the buffered length in TLSSession. SocketCore also provides
|
|
|
|
the same function, which delegates to TLSSession object.
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Add --max-mmap-limit option
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
Set the maximum file size to enable mmap (see --enable-mmap
|
|
|
|
option). The file size is determined by the sum of all files
|
|
|
|
contained in one download. For example, if a download contains 5
|
|
|
|
files, then file size is the total size of those files. If file size
|
|
|
|
is strictly greater than the size specified in this option, mmap
|
|
|
|
will be disabled.
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* mingw: Use SetFileValidData to make --file-allocation=falloc work
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Retry with 504 status code
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Increase DHT transaction ID from 2 to 4 bytes to avoid conflict
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Update wslay
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Add --enable-werror option to configure to enable warning flags
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Don't modify user variables (e.g., CFLAGS, LIBS, etc)
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Improve error message when loading pkcs12 file failed
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Updated dependency and source url's
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
The RaspberryPi Dockerfile had some out-of-date dependency packages
|
|
|
|
and was downloading an outdated aria2 source from Sourceforge, which
|
|
|
|
resulted in a build for version 1.19.0. The new
|
|
|
|
fetch-latest-release-from-GitHub script I've cooked up should always
|
|
|
|
work as long as GitHub doesn't change their API and aria2's platform
|
|
|
|
agnostic releases follow the "{version number}.tar.bz2" naming
|
|
|
|
format.
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
Patch from c3mb0
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Reduce delay in tracker request
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
We eliminated 1 second delay between completion of name resolution
|
|
|
|
for tracker request and time when it is actually issued. We also
|
|
|
|
elimited 1 second delay after last torrent download exists and it is
|
|
|
|
told to DHTInteractionCommand.
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Disable IPv6 on non-async NameResolver if configuration wants
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Fix mysterious 1 second delay with async DNS
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Fix bug that UDP port was incorrectly used in UDP tracker announce request
|
2015-12-05 13:24:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Refactor HttpRequest
|
2013-05-18 10:27:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
This also makes comparison performed when replacing builtin header
|
|
|
|
field with user-defined one case-insensitive.
|
2013-05-18 10:27:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Send Want-Digest as per RFC 3230
|
2013-05-18 10:27:49 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Try all found address set to bind sockets with --multiple-interface
|
2013-03-17 07:08:08 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
Fixes GH-523
|
2013-03-17 07:08:08 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Replace sourceforge references with aria2.github.io
|
2013-03-17 07:08:08 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Add system.listMethods RPC method
|
2012-02-27 12:33:01 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
system.listMethods just returns the available RPC method names. It
|
|
|
|
can be executed without secret token, because it just returns the
|
|
|
|
method names, and does not alter anything.
|
2012-02-27 12:33:01 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
See GH-437
|
2012-02-27 12:33:01 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Support content-range from non-compliant server
|
2012-02-27 12:33:01 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
See GH-509
|
2012-02-27 12:33:01 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Reduce UDP tracker request timeout
|
2012-02-27 12:33:01 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
See GH-507
|
2012-02-27 12:33:01 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
* Apply --retry-wait when retrying after 404
|
2011-12-25 15:59:24 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
Previously, --retry-wait was not used when retrying after 404
|
|
|
|
(--max-file-not-found). The retry was done without delay. Also the
|
|
|
|
maximum retry count (--max-retries) was ignored when retrying with
|
|
|
|
404.
|
2011-12-25 15:59:24 +00:00
|
|
|
|
2016-02-14 14:23:17 +00:00
|
|
|
This commit makes --retry-wait apply for retrying with 404 as well.
|
|
|
|
It also combines --max-retries and --max-file-not-found. When
|
|
|
|
retrying with 404, it is counted toward retry count.
|