Skip to content

RTorrent release version 0.15.0

Latest
Compare
Choose a tag to compare
@rakshasa rakshasa released this 26 Dec 17:23

libtorrent

Stability Improvements

  1. Resolved a crash with Handshake buffer resizing.

  2. Respect failure intervals for trackers.

  3. Fix file truncation on resume with fallocate enabled

  4. Change _sync* to std::atomic for cross platform compatibility.

  5. Resolve Wclass-memaccess compile warning with std::memset.

Performance Improvements

  1. Only write uncertain_pieces.timestamp when necessary.

  2. Use emplace instead of push for std::array objects.

Code Cleanup

  1. rakshasa/libtorrent#263 by @kannibalox
  2. rakshasa/libtorrent#262 by @kannibalox
  3. rakshasa/libtorrent#273 by @kannibalox
  4. rakshasa/libtorrent#274 by @kannibalox
  5. rakshasa/libtorrent#277 by @kannibalox
  6. rakshasa/libtorrent#277 by @neheb
  7. rakshasa/libtorrent#282 by @rakshasa
  8. rakshasa/libtorrent#281 by @neheb

rTorrent

Stability Improvements

  1. Resolved scgi software crash with SIGPIPE exception.

  2. Various build stability improvements.

  3. Change _sync* to std::atomic for cross platform compatibility.

  4. Resolved a crash with the curl stack during shutdown.

  5. Resolve Wclass-memaccess compile warning with std::memset.

  6. Fixed d.group.name returning the wrong value.

  7. Fixed compatibility checks for file types.

Tinyxml2 to replace xmlrpc-c

Please configure rTorrent with --with-xmlrpc-tinyxml2 to enable tinyxml2. It contains 2-3 times performance improvements for small responses and up to 30 times performance improvements for large responses. This is a significant reduction in overhead!

xmlrpc-c:

Benchmark               Time             CPU   Iterations
---------------------------------------------------------
small_response       3417 ns         3413 ns       204332
large_response   46159260 ns     46074301 ns           15

tinyxml2:

Benchmark               Time             CPU   Iterations
---------------------------------------------------------
small_response       1595 ns         1593 ns       462388
large_response    1512614 ns      1509299 ns          463

Code Cleanup

  1. #1311 by @kannibalox
  2. #1312 by @kannibalox
  3. #1314 by @rakshasa
  4. #1340 by @rakshasa
  5. #1343 by @kannibalox
  6. #1345 by @rakshasa