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
PiloUnk
6f27159627
Refactor full save scheduling with early return
2026-03-16 13:29:33 +01:00
PiloUnk
de163293ab
Avoid missing save scheduling after full save update
2026-03-16 13:29:33 +01:00
PiloUnk
fb4e775689
Fix coalescing resume saves with pending full save
2026-03-16 13:29:33 +01:00
Jari Sundell
70e6964823
Fixed various SCGI issues.
2026-03-10 23:25:28 +09:00
rakshasa
5dfb2ae938
Allow dht bootstrap nodes to be added when dht is off.
2026-03-02 09:45:09 +01:00
Jorge Israel Peña
f05a2ae520
Re-send smkx on SIGWINCH to fix arrow keys after terminal reattach
2026-02-19 16:06:42 +01:00
Miroslav Marchev
ecefdba734
dht_add_peer_node is empty, use dht_add_bootstrap_node instead
...
After a refactor dht_add_peer_node became empty function. Replace with dht_add_bootstrap_node to make adding bootstrap nodes work.
2026-02-14 14:32:48 +01:00
Jari Sundell
87666199b3
Added SocketManager to handle reuse of uninterested fd's by the kernel.
2026-01-29 04:00:31 +09:00
Jari Sundell
9489793dcb
Created torrent/runtime include directory.
2026-01-27 08:21:05 +09:00
Jari Sundell
2fa7568165
Remove obsolete SocketFd class.
2026-01-26 19:13:03 +09:00
fffe
f4b718f685
add separate commands for unbuffered logs
2026-01-16 16:10:02 +01:00
Jari Sundell
b233e24465
Deprecated rak::path_expand.
2026-01-08 23:27:53 +09:00
Jari Sundell
289ab046bf
Expand '~/' to $HOME in session path.
2026-01-06 20:44:40 +09:00
Jari Sundell
a8b6a47054
Removed deprecated rak errno and file headers.
2026-01-04 03:22:02 +09:00
Zoltan Celedes
110591d5c1
Fix key/value pairs in Lua
...
Previously, the keys and values were swapped in d.custom.items()
2026-01-03 12:20:08 +01:00
rakshasa
0b0c824b4b
Changed magnet metadata handling and added 'magnet.path.set'.
2025-12-31 21:57:52 +01:00
Jari Sundell
def6551488
Properly propagate errors from download session save.
2025-12-30 22:00:34 +09:00
Jari Sundell
787738e36a
Make sure pending builds of session resume get processed.
2025-12-29 09:55:32 +09:00
Jari Sundell
40c2d90c45
Fixed dereferencing of potentially nullptr in SessionManager.
2025-12-25 23:05:08 +09:00
Jari Sundell
4a37fbde0b
Session saving of resume data is added to a pre-queue.
2025-12-23 03:04:47 +09:00
Jari Sundell
4bdeb58eb6
Run multiple session save requests in parallel.
2025-12-22 06:26:35 +09:00
Jari Sundell
5dbb0020dc
Replace ThreadWorker with scgi::ThreadScgi.
2025-12-18 07:43:43 +09:00
Jari Sundell
8f644e65dd
Use separate thread for saving session data.
2025-12-18 06:42:44 +09:00
Jari Sundell
16ff32b88c
Added missing Event::type_name() functions.
2025-12-13 19:06:02 +09:00
Jari Sundell
8806c06f9f
Added timestamp helper commands.
2025-12-10 22:29:42 +09:00
rakshasa
60cfcd37c4
Release 0.16.5.
2025-12-02 17:51:26 +01:00
Jari Sundell
30cec98799
Moved Poll to net namespace.
2025-11-20 03:05:16 +09:00
rakshasa
b825906034
Store copies of command names added to xmlrpc-c.
2025-11-17 20:30:13 +01:00
rakshasa
b05ecb5c5a
Push back views explicitly takes a string.
2025-11-17 09:36:32 +01:00
Jari Sundell
900be334dc
Cleaned up xmlrpc-c string sanitization.
2025-11-17 02:48:32 +09:00
rakshasa
3a1da2fe34
Check if AF_INET6 is supported, or block IPv6 traffic.
2025-11-15 09:17:56 +01: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
rakshasa
184ead294a
Export 'group2.*' commands.
2025-11-01 14:35:32 +01:00
Jari Sundell
84bfc491ba
Added dual listening ports when both IPv4 and IPv6 are bound.
2025-11-01 07:24:31 +09:00
Auska
2d2a756a3c
fix: replace VLA
...
Avoids -Wvla-cxx-extension warning by using standard C++ container.
VLA is not part of standard C++ and causes portability issues.
2025-10-14 11:16:35 +02:00
Jari Sundell
891a6ba69d
Added local address commands for inet/inet6.
2025-10-13 19:09:20 +09:00
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