Jari Sundell
8318133c79
Added a new callback mechanism and use it for trackers.
2026-05-23 23:43:45 +09:00
rakshasa
088bf40bdf
Removed obsolete use of trackers.use_udp.
2026-05-18 16:35:20 +02:00
Jari Sundell
5e211c3a28
Allow for quick shutdown after sending the first UDP announce packet.
2026-05-15 20:58:17 +09:00
Jari Sundell
797a194abc
Cleaned up torrent header files.
2026-05-14 19:24:38 +09:00
Jari Sundell
f05b48e228
Moved NetworkConfig to runtime.
2026-05-05 16:17:24 +09:00
Jari Sundell
1adcf230d2
Fix core subsystem logic and safety bugs @Sirus20x6
2026-04-18 01:54:46 +09:00
Jari Sundell
5a4ba8bc32
Removed deprecated rak header files.
2026-04-10 22:04:02 +09:00
Jari Sundell
e64ec358fa
Removed deprecated rak headers.
2026-04-10 03:49:38 +09:00
sirus20x6
0aaa470053
Fix resource leaks and minor issues
...
- Close pipe fds on fork failure in ExecFile::execute
- Add exception-safe fclose in cmd_file_append via try/catch
- Add overflow guards before K/M/G bit shifts in parse_whole_value
- Fix %u format for int* in sscanf (change to %d)
- Fix typo "atter"→"after" in error message
2026-03-16 13:56:43 +01:00
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