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
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
d35a8d68e6
Fixed uninitialized rpc slots when SCGI is not used.
2025-08-25 15:56:15 +09:00
Jari Sundell
f1a4c13c41
Added network.block.ipv4in6.set command.
2025-07-05 22:31:52 +09: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
Jari Sundell
6c25e64c26
Moved curl to libtorrent.
2025-06-05 20:29:43 +09:00
Jari Sundell
de6c48ca3f
Moved TrackerList and TrackerController out of the public API.
2025-05-28 17:11:29 +09: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
3a227c190f
Added system.files.advise_random.set command.
2025-03-28 19:21:25 +09:00
Jari Sundell
0adfc17335
Compatibility fixes with thread-safe list tracker changes.
2025-03-11 20:38:04 +09:00
rakshasa
37a5b7bccb
Moved torrent::Tracker to torrent::tracker::Tracker.
2025-02-27 19:24:35 +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
kannibalox
87c6422052
Allow using vendored tinyxml2 for XMLRPC
...
By default, builds will still not have XMLRPC enabled at all and the
configure flag `--with-xmlrpc-tinyxml2` must be specified. If both
xmlrpc-c and tinyxml2 are specified, xmlrpc-c takes precedence.
Basic benchmarks indicate tinyxml2 is 2x faster for small
requests/responses, and that only increases as response sizes get
larger.
2024-11-25 18:44:28 +09:00
kannibalox
34de2b4ac9
Convert CommandMap to use std::string instead of char*
...
This allows it to own its keys and clean them up automatically on
destruction.
2024-11-13 19:22:34 +09:00
rakshasa
d15d93be88
Added ipv6 options.
2021-06-21 21:14:48 +09:00
Trog
3798de01a0
few missing sub-commands of network and throttle for the RPC interface ( #937 )
2019-12-01 14:55:23 +09:00
rakshasa
f0207ce654
Added "try" command that catches input_errors and logs them on rpc_events.
2018-06-23 17:01:34 +09:00
rakshasa
e1afe25413
Merge branch 'master' into ipv6
2016-08-29 18:19:45 +09:00
kannibalox
55c61e9099
Expose the number of current HTTP connections
2016-08-12 02:32:26 +00:00
rakshasa
0df0a6650d
Removed ifdef for ipv6.
2014-09-23 18:56:29 +09:00
rakshasa
7007973c76
Added ipv6 patch.
2014-08-14 20:56:20 +09: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
b8e24b78cd
Added missing option strings commands.
2014-06-13 18:24:03 +09:00
rakshasa
09f6243c6a
Cleaned up how ssl_verify_host/peer is set.
2014-06-12 22:08:40 +09:00
rakshasa
390328ec97
Merge branch 'master' into pr/190
2014-06-12 21:43:31 +09:00
rakshasa
3b39f37f49
C++11 compatibility fixes.
2014-05-13 23:36:37 +09:00
rakshasa
d396c8e058
Changed rpc log types.
2014-04-25 19:55:47 +09:00
Mike Valentine
24f84214c8
Added config parameter network.http.ssl_verify_host to support certificates.
...
Added config parameter network.http.ssl_verify_host to support certificates
with a mismatched or empty CN. Default is 2 (verify name match). Use 1 to simply
verify the presence of a name or 0 to allow for missing names.
2014-04-12 14:06:22 -04:00
rakshasa
3e3a84b3a0
Added 'network.listen.backlog{,.set}' commands.
2014-03-23 14:46:10 +01:00
rakshasa
f373b20c1b
Removed old handshake logging functions.
2012-04-26 21:22:35 +09:00
rakshasa
bb75f06c6d
Replaced std::placeholders with tr1::placholders.
2012-03-21 01:24:35 +09:00
rakshasa
04acc8a0af
Converted std::bind calls to tr1::bind.
2012-03-21 01:22:25 +09:00
rakshasa
309711025b
Cleaned up some code.
2012-02-11 16:17:13 +09:00
Jari Sundell
222018e395
Removed obsolete 'system.hash.read_ahead', 'system.hash.interval' and 'system.hash.max_tries'.
2012-01-09 21:49:27 +09:00
Jari Sundell
41d49b7c18
Merge branch 'master' into c++11
...
Conflicts:
src/command_network.cc
2011-12-07 16:08:05 +09:00
Jari Sundell
a120b8e9cf
Moved some stuff out of command_network.cc to make it compile faster.
2011-12-02 22:54:52 +09:00
Jari Sundell
58727fe7fd
Fixed compiler issues with gcc-4.6 c++0x.
2011-11-18 17:28:50 +09:00
Jari Sundell
931b9c848c
Added 'network.listen.port'.
2011-10-21 20:24:35 +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
5f21e207c3
* Unlink the target filename of 'network.scgi.open_local' before opening.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1291 e378c898-3ddf-0310-93e7-cc216c733640
2011-10-02 13:24:59 +00:00
rakshasa
4e3ecc01b2
* Changed tracker logging to use the new logging facilities.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1286 e378c898-3ddf-0310-93e7-cc216c733640
2011-09-25 13:25:36 +00:00
rakshasa
156d69c854
* Added 'log.open_file' and 'log.add_output' options for using the new logging facilities.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1283 e378c898-3ddf-0310-93e7-cc216c733640
2011-09-21 02:38:05 +00:00
rakshasa
c7ad0a90da
* Fixed 'network.http.dns_cache_timeout{,.set}'.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1265 e378c898-3ddf-0310-93e7-cc216c733640
2011-08-07 11:06:29 +00:00
rakshasa
3f41f9384d
* Added 'network.http.dns_cache_timeout{,.set}' commands to allow for disabling the libcurl dns caching.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1261 e378c898-3ddf-0310-93e7-cc216c733640
2011-08-03 09:29:03 +00:00