Jari Sundell
9489793dcb
Created torrent/runtime include directory.
2026-01-27 08:21:05 +09:00
Jari Sundell
40c2d90c45
Fixed dereferencing of potentially nullptr in SessionManager.
2025-12-25 23:05:08 +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
900be334dc
Cleaned up xmlrpc-c string sanitization.
2025-11-17 02:48:32 +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
2be730e4b3
Reuse HTTP connections and added totale/cached connection limits.
2025-10-09 21:15:24 +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
bb1cdfc0e7
Fixed DHT bind address and converted to using sockaddr.
2025-08-23 02:54:54 +09:00
Jari Sundell
6c25e64c26
Moved curl to libtorrent.
2025-06-05 20:29:43 +09: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
Jari Sundell
e8c1f3ed2c
Update to use new this_thread::Poll().
2025-05-31 22:22:31 +09:00
rakshasa
46e94259e8
Make sure threads are rejoined.
2025-05-26 15:18:59 +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
97415c656b
Various scheduler and therad cleanups.
2025-05-01 16:38:49 +09:00
rakshasa
a8622e5c80
Cleaned up thread-related code.
2025-04-12 23:03:08 +02:00
rakshasa
47af28aecd
Cleaned up ui/root.
2025-03-11 14:13:05 +01:00
kannibalox
9f48226663
Add JSON-RPC capability
...
Inline nlohmann/json for the JSON parsing itself, and handle requests
with the same SCGI interface as XML-RPC.
Based off the work in https://github.com/jesec/rtorrent
2025-01-20 12:31:04 +01:00
Jari Sundell
2e0a417367
Add optional Lua scripting capabilties - kannibalox@gmail.com
2025-01-19 04:02:06 +09:00
stickz
c5563d65c5
cleanup: Remove rak mem_fun
...
This commit removes rak:mem_fun and replaces it with std::function and lambdas.
2025-01-12 10:18:50 -05:00
kannibalox
cd9948a4a8
Remove/replace functional_fun.h functions
2024-12-22 19:17:36 +09:00
chros
74435f6c40
Add 'event.system.startup_done/shutdown' commands/events ( Closes #24 )
2018-09-26 15:12:20 +01:00
zp
7ea5729676
trim modified files
2016-06-19 07:04:23 -05:00
zp
c01709fa27
Allow rtorrent to run as a daemon, slightly modified version of the PR provided by sallyswiss
2016-06-19 02:06:30 -05:00
rakshasa
dc8e786d58
Merge branch 'master' into c++11
...
Conflicts:
src/command_dynamic.cc
src/command_events.cc
src/command_groups.cc
src/command_ip.cc
src/command_network.cc
2014-06-18 00:44:36 +09:00
rakshasa
3b39f37f49
C++11 compatibility fixes.
2014-05-13 23:36:37 +09:00
rakshasa
1e4739c862
Merge branch 'master' into xirvik
2013-08-26 23:17:56 +09:00
rakshasa
529eda5aab
Converted sigc++ slots to std::tr1::function.
2013-08-24 00:14:25 +09:00
rakshasa
b79dea94b2
Wait for disowned http requests to finish to ensure stopped event gets sent to tracker on client shutdown.
2012-05-04 04:02:59 +09:00
rakshasa
6d61cc09c3
Merge branch 'master' into xirvik
2012-05-01 00:56:52 +09:00
rakshasa
f1ece0ae12
Wait for disowned http requests to finish to ensure stopped event gets sent to tracker on client shutdown.
2012-05-01 00:29:50 +09:00
rakshasa
9aa54d2344
Added 'directory.watch.added'.
2012-03-29 23:04:17 +09:00
rakshasa
47125b9c38
Moved main thread object to libtorrent.
2012-02-12 21:58:16 +09:00
Jari Sundell
0626dcf783
C++11 fixes.
2011-12-27 16:45:19 +09:00
Jari Sundell
58727fe7fd
Fixed compiler issues with gcc-4.6 c++0x.
2011-11-18 17:28:50 +09:00
rakshasa
4d313e6353
Updated copyright information.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1301 e378c898-3ddf-0310-93e7-cc216c733640
2011-10-09 06:30:14 +00:00
rakshasa
033e30af04
* Fixed more commands.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1177 e378c898-3ddf-0310-93e7-cc216c733640
2010-10-05 03:36:14 +00:00
rakshasa
c8fc6402bb
* Finished the move over to object_storage, removing command_function.*.
...
* Added redirects for several commands.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1166 e378c898-3ddf-0310-93e7-cc216c733640
2010-04-29 10:59:41 +00:00
rakshasa
b530d35d94
* More work on rpc::object_storage and moving simple functions over to it.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1165 e378c898-3ddf-0310-93e7-cc216c733640
2010-04-28 15:19:18 +00:00
rakshasa
3cae3d37be
* Cleaning up command names. The deprecated commands will be redirected.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1131 e378c898-3ddf-0310-93e7-cc216c733640
2010-02-16 17:29:53 +00:00
rakshasa
588f9e80c7
* Threaded XMLRPC support. Sponsored by Xirvik.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1123 e378c898-3ddf-0310-93e7-cc216c733640
2010-01-25 13:14:09 +00:00
rakshasa
2c7563825c
* Added shutdown for worker thread.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1117 e378c898-3ddf-0310-93e7-cc216c733640
2009-12-22 03:29:47 +00:00
rakshasa
b635f8c852
* More work on threading.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1112 e378c898-3ddf-0310-93e7-cc216c733640
2009-12-12 21:30:52 +00:00
rakshasa
667c4c3562
* Created ThreadBase holding poll manager, etc, and added a this_thread global object.
...
* Cleaned up main initialization, SCGI and polling code.
* Fixed a bug that would cause reading of a piece to hang if the incoming data contains only data up to the file boundary, but not the next file's data. The bug did not trigger if the file boundary and piece boundaries were the same.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1101 e378c898-3ddf-0310-93e7-cc216c733640
2009-11-12 09:28:35 +00:00
rakshasa
db4ba9fe68
* Cleaned up obsolete scheduler framework.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1071 e378c898-3ddf-0310-93e7-cc216c733640
2008-10-04 10:06:47 +00:00
rakshasa
be8b59b00b
* Use curl's new polling interface so we don't have to switch to
...
select() while http transfers are active.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1065 e378c898-3ddf-0310-93e7-cc216c733640
2008-08-27 08:41:08 +00:00
rakshasa
a6045c9ea5
* Made the signal in View trigger using a task, thus avoiding bad
...
recursions and wrongly orderer commands. This should fix some problems
with hash checking returning errno 0.
* More changes to View usage.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1048 e378c898-3ddf-0310-93e7-cc216c733640
2008-03-27 15:41:11 +00:00
rakshasa
51e27e29c8
* Properly clean up SCGI on exceptions so it deletes the socket
...
file. Found by Josef Drexler.
* Handle mtime properly in resume_save.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1020 e378c898-3ddf-0310-93e7-cc216c733640
2007-12-16 08:25:57 +00:00