Jari Sundell
2be730e4b3
Reuse HTTP connections and added totale/cached connection limits.
2025-10-09 21:15:24 +09:00
Jari Sundell
bf53700f97
Added 'network.bind_address.ipv{4,6}.set' commands.
2025-10-04 20:24:08 +09:00
Jari Sundell
ea2347734b
Added network.block.outgoing.
2025-09-23 17:56:51 +09:00
Jari Sundell
5206e6cb88
Moved various socket options to NetworkConfig.
2025-09-22 06:01:18 +09:00
Jari Sundell
48f82c17c2
Remove deprecated no-target flags for commands.
2025-09-20 17:27:26 +09:00
rakshasa
675625255d
Check if target is null in xmlrpc_to_object().
2025-09-20 09:22:56 +02:00
Jari Sundell
658e9f7578
Use simplified fd_accept().
2025-09-18 17:40:56 +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
Jari Sundell
65906a033a
Preparing 0.16.0 release.
2025-09-05 18:32: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
PRESFIL
1492d39a3a
feat(lua): Make LUA_DATADIR option
2025-08-07 11:03:58 +02:00
PRESFIL
8dcf2bc609
chore(lua): Use PACKAGE_DATADIR and AM_CPPFLAGS
2025-08-07 11:03:58 +02:00
PRESFIL
7022722c64
chore(lua): Make LUA_DATADIR instead of PACKAGE_DATADIR
2025-08-07 11:03:58 +02:00
PRESFIL
2829a73d8b
chore(lua): Make AC_DEFINE_UNQUOTED for PACKAGE_DATADIR
2025-08-07 11:03:58 +02:00
PRESFIL
43c36db5fc
chore(lua): Add empty newlines for code readability
2025-08-07 11:03:58 +02:00
PRESFIL
f8ec1ca95e
fix(lua): Make rtorrent.lua accessible at start
2025-08-07 11:03:58 +02:00
PRESFIL
d9976af767
chore(rpc/parse.cc): Fix typo
2025-08-07 11:03:58 +02:00
PRESFIL
c649e49a42
fix(lua): Treat VALUE always as integer
...
rtorrent doesn't have floating point data type
2025-08-07 11:03:58 +02:00
PRESFIL
9b0d74bd68
fix(lua): Execution of commands with empty target
2025-08-07 11:03:58 +02:00
PRESFIL
09dd1ce9c8
fix(lua): Handling of LUA_TNIL
2025-08-07 11:03:58 +02:00
PRESFIL
eb45508ab9
chore(lua): Remove unused lua_rtorrent_call() local function
2025-08-07 11:03:58 +02:00
PRESFIL
a1ff6f5710
fix(lua): require(rtorrent) cause infinite loop
...
- missing `pos = end + 1` pos caused infinite loop
- there was no processing of the last element after the last ';', i.e. it was
assumed that `lua_path` always has ';' in the last character
2025-08-07 11:03:58 +02:00
rakshasa
756e3bd5ae
Invert color of focus ui element.
2025-08-05 08:56:22 +02:00
rakshasa
ce97bf583d
Fixed formating.
2025-08-04 09:52:27 +02:00
rakshasa
420f03b40b
Fixed input key bindings.
2025-08-04 09:52:27 +02:00
mmmsalmon
9ac43c2b40
remove comment
2025-08-04 09:52:27 +02:00
mmmsalmon
25448320aa
add vi/emacs keybind for stopping/removing torrent from download list
2025-08-04 09:52:27 +02:00
rakshasa
788442de6a
Added test for xmlrpc string reflection.
2025-08-02 15:02:25 +02:00
rakshasa
4492715737
Strict checking of d.views push_back arguments.
2025-08-02 15:02:25 +02:00
Jari Sundell
f1a4c13c41
Added network.block.ipv4in6.set command.
2025-07-05 22:31:52 +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
5175414333
add chrono header
...
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-22 17:26:22 +02:00
Rosen Penev
2b15c4a1fa
command_ui: use templates instead of function
...
Less overhead.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-21 11:48:21 +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
Rosen Penev
c48b7f5b93
replace VERSION with PACKAGE_VERSION
...
They're both the same. The latter is more descriptive.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-20 13:07:51 +02:00
rakshasa
4c06e7a923
Changed the order in which slots are added in HttpQueue.
2025-06-19 22:50:42 +02:00
Rosen Penev
e3918f5d84
remove some get() calls
...
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-19 10:07:52 +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
dc6208ccc9
add missing header for va_list
...
Fixes compilation on NetBSD.
2025-06-18 18:20:22 +02:00
Rosen Penev
18d19e3dee
initialize in vector directly
...
No need for std::copy.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-18 16:15:47 +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