github rakshasa/rtorrent v0.16.15
RTorrent release version 0.16.15

6 hours ago

Summary

Cleanup of old unused/unneeded code and commands continues, and the deprecated commands should no longer be used.

Before 1.0 is released, these will be removed.

Deprecated and Disabled Commands

# Deprecated commands:

network.open_sockets
network.max_open_sockets
network.max_open_sockets.set
network.http.max_total_connections.set
network.max_open_files.set

Socket categories are now the correct way to adjust or query socket allocation.

Socket Categories & Migration

Global network socket commands (e.g., network.max_open_sockets) are now deprecated. Socket allocation is managed granularly via Socket Categories: generic, http, internal, rpc, and files.

New Commands:

  • system.sockets.<category>.size (Current active sockets)
  • system.sockets.<category>.max_size (Historical peak sockets)
  • system.sockets.<category>.min_alloc / .max_alloc (Set/get socket allocation boundaries)

See https://github.com/rakshasa/rtorrent/wiki/Socket-Manager-and-Resource-Allocation for more

Configuration Example:

# Replace legacy network settings with category boundaries
system.sockets.rpc.max_alloc.set = 32
system.sockets.generic.min_alloc.set = 100

Development Funding

Current development relies on donations, and as such is highly appreciated.

Donations make futher development possible, and as such are highly appreciated:

  • Paypal
  • Patreon
  • SubscribeStar
  • Bitcoin: 1MpmXm5AHtdBoDaLZstJw8nupJJaeKu8V8
  • Ethereum: 0x9AB1e3C3d8a875e870f161b3e9287Db0E6DAfF78
  • Litecoin: LdyaVR67LBnTf6mAT4QJnjSG2Zk67qxmfQ
  • Cardano: addr1qytaslmqmk6dspltw06sp0zf83dh09u79j49ceh5y26zdcccgq4ph7nmx6kgmzeldauj43254ey97f3x4xw49d86aguqwfhlte

What's Changed

Cleanup

  • Added "system.sockets..{size,max_size,min_alloc,max_alloc}" commands by @rakshasa
  • Updated default socket category allocation values by @rakshasa
  • Cleaned up if/branch commands and made branch type checks stricter by @rakshasa
  • Renamed scgi socket manager category to rpc by @rakshasa
  • Fail on tracker "warning message" that contains certain keywords by @rakshasa
  • Added backoff to callback when it is the only events being handled by @rakshasa

Bug Fixes

  • Use posix_spawn for execute commands by @rakshasa
  • Only enable SIGCHLD on main thread by @rakshasa
  • Validate HTTP proxy url when it is set by @rakshasa
  • Fixed CurlGet stack bug using a separate flag for cleaned up requests by @rakshasa
  • Reset HttpGet objects to ensure there's not unexpected reuse by @rakshasa
  • Use a cache for free diskspace when sync'ing all downloads by @rakshasa
  • Replaced reinterpret_cast UB in command_base with aligned placement new by @trim21
  • Survive controlling-terminal hangup instead of aborting the client by @xirvik
  • Close directory watch on quick shutdown (fix SIGABRT at exit) by @xirvik
  • Empty Bitfield must have begin() == end() by @xirvik
  • Fix use-after-free in UdpRouter::disconnect_failure_unsafe by @jmakovicka
  • Add support for RISC-V by @andreas-schwab

Don't miss a new rtorrent release

NewReleases is sending notifications on new releases.