rakshasa
9661a2aaa9
Added test for xmlrpc string reflection.
2025-08-11 10:18:20 +02:00
rakshasa
aaf42c247e
Strict checking of d.views push_back arguments.
2025-08-11 10:16:23 +02:00
rakshasa
cba48f4a10
Invert color of focus ui element.
2025-08-11 10:14:46 +02:00
Phil Rosenthal
8bd7c79755
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:04:45 +02:00
rakshasa
b9d880dea3
Properly handle -1 value passed to curl set_timeout.
2025-06-08 13:01:36 +02:00
rakshasa
b4c59d2c7a
Fixed corrupted stack in curl stack due to wrong argument type.
2025-06-07 13:17:34 +02:00
rakshasa
231606afc1
Fix ExecFile waitpid error handling.
2025-06-01 18:41:22 +02: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
a4ab0112dc
convert color_vars to std::array
...
Fixes:
warning: ‘display::color_vars’ defined but not used
Could also add const to it.
Do the same with color_names.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-01 08:31:16 +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
Rosen Penev
3ab38583b8
remove __UNUSED
...
No need since we have C++17.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-01 08:07:37 +02:00
Rosen Penev
1003013f10
remove allocators.h
...
Unused.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-01 08:07:37 +02:00
rakshasa
7bbd9a02a0
Proper handling of DownloadList::clear().
2025-05-31 23:16:23 +02:00
Jari Sundell
f0809ec29d
Various pool_event_* and thread API cleanups.
2025-06-01 01:22:14 +09:00
Jari Sundell
e8c1f3ed2c
Update to use new this_thread::Poll().
2025-05-31 22:22:31 +09:00
Jari Sundell
3618b9dc4f
Added system.files.advise_random.hashing.set command.
2025-05-31 19:19:08 +09:00
rakshasa
df8cb53ed2
Properly clear out download list before calling torrent::cleanup().
2025-05-30 14:31:52 +02:00
rakshasa
2d565d1c80
Do thread cleanup within the same thread context.
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
rakshasa
5fb61b2857
Removed old poll creation calls.
2025-05-27 12:23:39 +02:00
rakshasa
46e94259e8
Make sure threads are rejoined.
2025-05-26 15:18:59 +02:00
Jari Sundell
9ff373fe58
Related refactoring to updated of ThrottleList to use new Scheduler.
2025-05-12 17:38:07 +09:00
Fredrik Lindell
6d888c008d
Align compact display download header labels
...
* Align compact display download header labels
2025-05-11 09:45:47 +02:00
rakshasa
9fe4d188e9
Cleaned up WindowHttpQueue.
2025-05-08 08:32:45 +02:00
Jari Sundell
9d5b769d78
Removed/replaced deprecated commands (execute/schedule/schedule_remove) and removed global lock in ExecFile.
2025-05-05 16:55:38 +09:00
rakshasa
55615abe9e
Use poll interrupting callbacks for SCGI requests.
2025-05-04 11:57:04 +02:00
rakshasa
303edab9ec
Detect content type when there's multiple elements.
2025-05-04 11:28:18 +02:00
rakshasa
877c00d54e
Fixed missing return statement.
2025-05-03 18:09:28 +02:00
Jari Sundell
4c63cee7a2
Cleaned up Poll code and included missing rtorrent.lua in installer.
2025-05-03 21:07:16 +09:00
Jorge Israel Peña
58a74cee48
Wrap fault struct in value
2025-05-02 12:13:49 +02:00
Jari Sundell
85e74b5542
Removed priority_queue and rak/timer.
2025-05-02 18:03:51 +09:00
Jari Sundell
97415c656b
Various scheduler and therad cleanups.
2025-05-01 16:38:49 +09:00
rakshasa
3d9c083032
Fix scheduler access.
2025-04-21 11:09:26 +02:00
Jari Sundell
dd221ac66a
Replaced Thread::next_timeout_usec().
2025-04-16 02:39:40 +09:00
Rosen Penev
25f729fab5
use priotity_enum
...
The _t typedef is only useful with C, not C++.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-04-15 10:07:29 +02:00
rakshasa
316b0b51d5
Use new thread event loop method.
2025-04-14 11:15:07 +02:00
rakshasa
a8622e5c80
Cleaned up thread-related code.
2025-04-12 23:03:08 +02:00
Jari Sundell
2ab7460cbc
Fix SCGI threading and added missing header.
2025-04-01 01:26:07 +09:00
rakshasa
2a998df4f1
Fixed LUA compilaition issue.
2025-03-31 06:19:02 +02:00
rakshasa
d5b28c30a9
Added default switch cases to RpcManager.
2025-03-30 15:38:07 +02:00
rakshasa
34bc18940a
Added missing color_map.h to Makefile.am.
2025-03-28 19:53:52 +01:00
rakshasa
8ac31afd06
Fixed tinyxml2 compile error.
2025-03-28 16:07:55 +01:00
rakshasa
8d991b4ce5
Added 'system.files.session.fdatasync' config option.
2025-03-28 15:32:57 +01:00
Jari Sundell
3a227c190f
Added system.files.advise_random.set command.
2025-03-28 19:21:25 +09:00
Jari Sundell
9a2ce2b231
Changes to support UDNS.
2025-03-27 21:36:10 +09:00
Jari Sundell
f33fc331ce
Thread-safe improvements to dht/tracker code and reorganized thread objects.
2025-03-13 22:15:12 +09:00
rakshasa
47af28aecd
Cleaned up ui/root.
2025-03-11 14:13:05 +01:00
chros
c6ebdf876a
Fix possible crash with save_input_history (See #26 )
2025-03-11 14:13:05 +01:00
rakshasa
5797ed9e7a
Added new tracker list commands.
2025-03-11 13:45:18 +01:00
nick black
9465c94b31
Don't recommend obsolete option 'safe_sync'.
2025-03-11 13:24:17 +01:00