Jari Sundell
9489793dcb
Created torrent/runtime include directory.
2026-01-27 08:21:05 +09:00
Jari Sundell
b233e24465
Deprecated rak::path_expand.
2026-01-08 23:27:53 +09:00
Jari Sundell
a8b6a47054
Removed deprecated rak errno and file headers.
2026-01-04 03:22:02 +09:00
rakshasa
0b0c824b4b
Changed magnet metadata handling and added 'magnet.path.set'.
2025-12-31 21:57:52 +01:00
Jari Sundell
4bdeb58eb6
Run multiple session save requests in parallel.
2025-12-22 06:26:35 +09:00
Jari Sundell
8f644e65dd
Use separate thread for saving session data.
2025-12-18 06:42:44 +09:00
Jari Sundell
70750a2bd3
Cleanup of DHT controller.
2025-11-13 00:01:22 +09:00
Jari Sundell
1d2c424a70
Remove throttle from DHT.
2025-11-08 17:51:00 +09:00
Jari Sundell
84bfc491ba
Added dual listening ports when both IPv4 and IPv6 are bound.
2025-11-01 07:24:31 +09:00
Jari Sundell
891a6ba69d
Added local address commands for inet/inet6.
2025-10-13 19:09:20 +09:00
Jari Sundell
bf53700f97
Added 'network.bind_address.ipv{4,6}.set' commands.
2025-10-04 20:24:08 +09:00
Jari Sundell
e7a80c7b18
Remove deprecated rak::socket_address.
2025-09-17 21:44:54 +09:00
Jari Sundell
677f8f45c8
Improved listen/dht port handling and added 'dht.override_port.set' command.
2025-09-13 17:51:04 +09:00
Jari Sundell
ba1ba3096a
Added NetworkConfig.
2025-09-12 06:09:24 +09:00
rakshasa
dd5e0df05c
Fixed HttpGet close call.
2025-09-04 13:11:56 +02:00
Bryant Eadon
00ef7d4be2
cleanup of personal information
...
Given the change to the README I thought it might be a good idea to also update the copyright notices which had an address too.
2025-09-02 20:10:38 +02:00
Jari Sundell
e64f9fe324
Include torrent/common.h header.
2025-09-01 20:46:18 +09:00
Jari Sundell
d35a8d68e6
Fixed uninitialized rpc slots when SCGI is not used.
2025-08-25 15:56:15 +09:00
Jari Sundell
bb1cdfc0e7
Fixed DHT bind address and converted to using sockaddr.
2025-08-23 02:54:54 +09:00
Rosen Penev
e11ac9abe3
remove downloa_slot_map.h
...
Unused.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-30 10:14:07 +02:00
Rosen Penev
34aba86d67
remove std::function inheritance
...
This does nothing but bloat code size.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-30 10:00:23 +02:00
Rosen Penev
84c0d516ef
replace for_each with range loops
...
No advantage over the latter, which is simpler.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-21 11:23:11 +02:00
rakshasa
4c06e7a923
Changed the order in which slots are added in HttpQueue.
2025-06-19 22:50:42 +02:00
Rosen Penev
0948b5f86a
clang-tidy: convert loops to range based
...
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-19 09:57:21 +02:00
Phil Rosenthal
bb8d677f6e
Fix file descriptor leak in session file saving
...
When system.files.session.fdatasync is set to "no", file descriptors
were not being closed after writing session files, causing a severe
resource leak. Each save operation would leak one file descriptor.
With hundreds of torrents, this leads to tens of thousands of leaked
file descriptors within hours, mostly pointing to deleted session files.
This can exhaust the system's file descriptor limit and cause rtorrent
to fail when opening new files.
The fix moves the close() call outside the fdatasync conditional block,
ensuring file descriptors are always properly closed regardless of the
fdatasync setting.
2025-06-18 19:00:56 +02:00
Rosen Penev
f0517e2748
replace various find_if calls
...
C++11 has shorter equivalents.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-18 14:39:42 +02:00
Rosen Penev
47089bce70
remove some transform calls
...
for range loop is more readable.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-17 17:13:05 +02:00
Jari Sundell
64cb3d11a0
Use shared_ptr for CurlGet stream and improved thread-safety.
2025-06-17 23:15:40 +09:00
Rosen Penev
12347843a9
add file.h header
...
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-11 20:32:35 +02:00
Jari Sundell
41589f06c2
Converted curl/http to be thread-safe.
2025-06-12 00:04:40 +09:00
Jari Sundell
6c25e64c26
Moved curl to libtorrent.
2025-06-05 20:29:43 +09:00
Rosen Penev
95b1a19ef1
use _T sizes for curl
...
The non _T are deprecated.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-01 11:21:36 +02:00
Rosen Penev
897a6face2
clang-tidy: use default member init
...
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-01 08:16:02 +02:00
rakshasa
7bbd9a02a0
Proper handling of DownloadList::clear().
2025-05-31 23:16:23 +02:00
Jari Sundell
e8c1f3ed2c
Update to use new this_thread::Poll().
2025-05-31 22:22:31 +09:00
rakshasa
df8cb53ed2
Properly clear out download list before calling torrent::cleanup().
2025-05-30 14:31:52 +02:00
Jari Sundell
de6c48ca3f
Moved TrackerList and TrackerController out of the public API.
2025-05-28 17:11:29 +09:00
Jari Sundell
9ff373fe58
Related refactoring to updated of ThrottleList to use new Scheduler.
2025-05-12 17:38:07 +09:00
rakshasa
9fe4d188e9
Cleaned up WindowHttpQueue.
2025-05-08 08:32:45 +02:00
Jari Sundell
4c63cee7a2
Cleaned up Poll code and included missing rtorrent.lua in installer.
2025-05-03 21:07:16 +09:00
Jari Sundell
85e74b5542
Removed priority_queue and rak/timer.
2025-05-02 18:03:51 +09:00
Jari Sundell
dd221ac66a
Replaced Thread::next_timeout_usec().
2025-04-16 02:39:40 +09:00
rakshasa
a8622e5c80
Cleaned up thread-related code.
2025-04-12 23:03:08 +02:00
rakshasa
8d991b4ce5
Added 'system.files.session.fdatasync' config option.
2025-03-28 15:32:57 +01:00
Jari Sundell
f33fc331ce
Thread-safe improvements to dht/tracker code and reorganized thread objects.
2025-03-13 22:15:12 +09:00
nick black
9465c94b31
Don't recommend obsolete option 'safe_sync'.
2025-03-11 13:24:17 +01:00
Jari Sundell
0adfc17335
Compatibility fixes with thread-safe list tracker changes.
2025-03-11 20:38:04 +09:00
rakshasa
37a5b7bccb
Moved torrent::Tracker to torrent::tracker::Tracker.
2025-02-27 19:24:35 +01:00
rakshasa
4ac7313ff1
Pass tracker key at download creation.
2025-02-23 13:25:48 +01:00
rakshasa
6139217033
Compatibility with new tracker enum.
2025-02-12 14:38:08 +01:00