Jakob Breivik Grimstveit
20002ce937
Fix false invalid session error on empty URI
...
Avoid triggering 'Session data is invalid' when loading downloads with an empty URI.
2026-09-11 12:05:59 +02:00
xirvik
324811d6f0
Do not fail startup on unreadable session files.
...
The download is flagged as hash failed with a message instead of throwing.
2026-08-09 10:39:55 +02:00
Jari Sundell
f6b3ad0efd
Minor cleanup of pex and other commands.
2026-07-15 19:40:13 +09:00
Jari Sundell
3b6da6feac
Reordered http queue slots to avoid race conditions.
2026-07-07 16:34:19 +09:00
Jari Sundell
0494ce70c8
Add http done/failed slots before starting request.
2026-07-06 17:18:39 +09:00
Jari Sundell
8318133c79
Added a new callback mechanism and use it for trackers.
2026-05-23 23:43:45 +09:00
rakshasa
088bf40bdf
Removed obsolete use of trackers.use_udp.
2026-05-18 16:35:20 +02:00
Jari Sundell
e64ec358fa
Removed deprecated rak headers.
2026-04-10 03:49:38 +09:00
Jari Sundell
b233e24465
Deprecated rak::path_expand.
2026-01-08 23:27:53 +09:00
rakshasa
0b0c824b4b
Changed magnet metadata handling and added 'magnet.path.set'.
2025-12-31 21:57:52 +01:00
Jari Sundell
4bdeb58eb6
Run multiple session save requests in parallel.
2025-12-22 06:26:35 +09: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
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
64cb3d11a0
Use shared_ptr for CurlGet stream and improved thread-safety.
2025-06-17 23:15:40 +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
de6c48ca3f
Moved TrackerList and TrackerController out of the public API.
2025-05-28 17:11:29 +09:00
Jari Sundell
85e74b5542
Removed priority_queue and rak/timer.
2025-05-02 18:03:51 +09:00
rakshasa
4ac7313ff1
Pass tracker key at download creation.
2025-02-23 13:25:48 +01:00
rakshasa
b8cb828d96
Replaced depreacted rak/functional calls.
2024-12-15 00:54:20 +09:00
stickz
c7c290a86b
Add "trackers.delay_scrape" command
2023-03-16 22:10:38 +01:00
stickz
2e1a499942
Don't delay scraping for newly added torrents
2023-03-16 22:10:38 +01:00
stickz
c86f0d0333
Don't force the trackers to scrape when rTorrent first starts
...
rTorrent will do this gradually, so we can start connecting to peers right away.
This patch shaves approximately 5 minutes off the start time with thousands of torrents.
2023-03-16 22:10:38 +01:00
Jari Sundell
7659cd0ec0
Backport changes from feature-bind.
2019-08-23 23:25:24 +09:00
Samantha Baldwin
e1cc736f11
change *dl_rate() to *down_rate()
2015-12-19 01:28:14 -05:00
Micdu70
06db5776ae
Save downloaded stat of each torrent
2015-11-05 18:41:27 +01:00
rakshasa
3b39f37f49
C++11 compatibility fixes.
2014-05-13 23:36:37 +09:00
rakshasa
529eda5aab
Converted sigc++ slots to std::tr1::function.
2013-08-24 00:14:25 +09:00
rakshasa
cf77a17399
Cleaned up command wrappers.
2012-05-22 17:19:19 +09:00
rakshasa
0a9e03df57
Added logging of options for created torrents.
2012-04-13 20:53:57 +09:00
rakshasa
3d1b0b5971
Cleaned up old log code.
2012-03-12 20:55:29 +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
Jari Sundell
308d91f817
Replaced sigc++ calles for torrent::Http with tr1::bind.
2011-11-17 01:06:52 +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
6faea70de2
* Added options for max_uploads and max_downloads.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1277 e378c898-3ddf-0310-93e7-cc216c733640
2011-09-13 01:42:14 +00:00
rakshasa
88260e4989
* Added missing <cstdio> and <string> headers.
...
* Added 'd.wanted_chunks' command.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1259 e378c898-3ddf-0310-93e7-cc216c733640
2011-08-01 02:51:13 +00:00
rakshasa
4ff2793efb
* Added 'd.timestamp.started'.
...
* Added dummy functions for a new choke group command interface.
* Added 'tracker' logging option for 'logging.libtorrent'.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1244 e378c898-3ddf-0310-93e7-cc216c733640
2011-07-10 04:21:34 +00:00
rakshasa
1964ba5626
* Moved the default value for 'system.files.max_size' to rtorrent, and set the default in libtorrent to ~0.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1237 e378c898-3ddf-0310-93e7-cc216c733640
2011-06-14 03:12:33 +00:00
rakshasa
1e206cb1c4
* Cleanup of command handling.
...
* Added 'd.timestamp.finished' that is set when a downloading torrent completes. For torrents that only seed it remains '0'.
* Added 'elapsed.{less,greater}' for checking the time elapsed since a time is less/greater, and it also returns false in all cases where the time is '0'.
* Fixed a bug that would cause hash checking to block exessively in some cases.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1233 e378c898-3ddf-0310-93e7-cc216c733640
2011-06-05 07:11:59 +00:00
rakshasa
86c508e212
* More work on cleaning up code.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1198 e378c898-3ddf-0310-93e7-cc216c733640
2011-03-31 11:25:31 +00:00
rakshasa
9ed7596daf
* Added framework for introducing different choking algorithms.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1196 e378c898-3ddf-0310-93e7-cc216c733640
2011-03-30 10:39:03 +00:00
rakshasa
18061c20c8
* More work on ip filter framework. Note some critical parts are not at this moment available to the public.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1194 e378c898-3ddf-0310-93e7-cc216c733640
2011-03-29 06:48:38 +00:00
rakshasa
0098b1f0b9
* Fixed a bug where callinging download specific commands through the ui with no torrent selected would cause a crash.
...
* Added LT_SLIM_VERSION option that will leave out unneeded command redirects from the build.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1183 e378c898-3ddf-0310-93e7-cc216c733640
2010-11-02 11:20:01 +00:00
rakshasa
56e126d8a0
* Fixed more redirects to work properly with old webui's.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1175 e378c898-3ddf-0310-93e7-cc216c733640
2010-10-03 10:47:36 +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
10f665e9c6
* Last of the commands converted, cleanup remaining.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1154 e378c898-3ddf-0310-93e7-cc216c733640
2010-03-27 16:35:15 +00:00
rakshasa
bc96dbfa2d
* Modified the fallocate configure check so it will fail if 'fallocate' can't be found.
...
* Changed more commands to the new format.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1153 e378c898-3ddf-0310-93e7-cc216c733640
2010-03-24 20:23:48 +00:00
rakshasa
db2b813fc4
* Finished refactoring command_network.cc.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1152 e378c898-3ddf-0310-93e7-cc216c733640
2010-03-23 18:24:18 +00:00
rakshasa
c5e839287d
* Cleaned up torrent/download.h.
...
* Removed raw_value as it is redundant.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1145 e378c898-3ddf-0310-93e7-cc216c733640
2010-03-15 18:31:50 +00:00