NEWS 4.4 KB

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