Commit graph

189 commits

Author SHA1 Message Date
Igor Katson
c84e3ad90d
Can unpause dead no-peer-source torrent just fine 2025-01-13 17:41:42 +00:00
Igor Katson
8efd77fce2
Initial private torrents support 2025-01-13 15:47:13 +00:00
Igor Katson
9e4c465336
A couple touch-ups 2024-12-07 12:17:17 +00:00
Igor Katson
82f167d50d
Removed the overly conservative check 2024-12-07 12:14:59 +00:00
Igor Katson
afca0fbbe3
Remove unnecessary initial_peers merging code 2024-12-07 12:06:06 +00:00
Igor Katson
0fabb453aa
Storing torrent name in ManagedTorrentShared 2024-12-06 12:57:26 +00:00
Igor Katson
5f07872725
Docs for _start() 2024-12-06 12:14:34 +00:00
Igor Katson
f637959ba7
Group session fields + add comments (Claude) 2024-12-06 00:08:11 +00:00
Igor Katson
456a51d4db
Split up "add_torrent" method 2024-12-05 23:48:14 +00:00
Igor Katson
100b7116df
Split out TorrentMetadata 2024-12-05 23:12:46 +00:00
Igor Katson
b796a8767b
"main_torrent_info" -> "add_torrent_internal" 2024-12-05 21:58:12 +00:00
Igor Katson
96946d5a81
"make_peer_rx_managed_torrent" 2024-12-05 21:57:44 +00:00
Igor Katson
8131ba0482
Store initial_peers in state 2024-12-05 21:47:37 +00:00
Igor Katson
e22132bba0
"make_peer_rx" - include initial peers 2024-12-05 21:45:27 +00:00
Igor Katson
25b309867b
Initial impl of up/down ratelimits 2024-11-18 17:34:50 +00:00
Igor Katson
95f5a322f6
[feature] support 40-byte infohash (not a magnet) as a way to add torrents 2024-11-07 19:35:02 +00:00
Igor Katson
2e7c7216e3
compute "attrs" field 2024-11-07 13:46:12 +00:00
Igor Katson
18755d8971
Add access to new fields 2024-11-07 13:46:12 +00:00
Igor Katson
98f011673e
iter_file_details_ext update impl 2024-11-07 13:46:12 +00:00
Igor Katson
abce0c6629
rename iter_file_details -> iter_file_details_ext 2024-11-07 13:46:12 +00:00
Ivan
bac364760e fmt 2024-10-19 19:50:26 +02:00
Ivan Moiseev
be9716e6a7 fix: simlify 2024-10-12 16:08:30 +02:00
Ivan Moiseev
bbdb78f773 feat: remove drop 2024-10-12 15:56:26 +02:00
Ivan Moiseev
b105a3bb22 fix: transactional pause 2024-10-12 15:17:19 +02:00
Igor Katson
990c5f866b
Disable upload: do not expose in default builds, move under a feature flag. 2024-10-03 09:07:19 +01:00
pasta
57db99e9b8
fixup: only set only_files if it was none 2024-10-02 15:16:32 -05:00
pasta
aa0c287fe5
feat: implement BEP-53 support 2024-10-01 13:22:54 -05:00
Ivan
a31e8344b2 Format - delete trailing spaces 2024-09-26 19:19:56 +02:00
Misaka
f184e7f5bf Add support for adding custom trackers 2024-09-24 21:55:02 +08:00
Igor Katson
b3263c24d3
fixed span.enter in session 2024-09-15 21:57:50 +01:00
Igor Katson
dedee2ef08
Watching works fine 2024-09-13 12:58:09 +01:00
Igor Katson
a73f921c5f
one line anyhow error formatting 2024-09-13 12:36:32 +01:00
Igor Katson
00daae97ed
Reorder removal so that mmap is removed before storage 2024-09-13 00:20:37 +01:00
Igor Katson
d6b1c47d45
Add #[track_caller] to all spawns so that tokio-console works (if enabled) 2024-08-29 10:30:06 +01:00
Igor Katson
fc7ae3bbe5
[Feature] option to disable upload 2024-08-28 18:02:25 +01:00
Igor Katson
9f798696ff
reduce noisy test logs 2024-08-28 17:44:46 +01:00
Igor Katson
bf9d75e748
Graceful shutdown 2024-08-26 18:25:22 +01:00
Igor Katson
0c06601b34
Fix a broken test on Windows 2024-08-23 19:37:31 +01:00
Igor Katson
6823490803
Fix persistence pause behavior 2024-08-23 18:47:33 +01:00
Igor Katson
c697809e50
Clear have_bitfield on error 2024-08-21 18:21:15 +01:00
Igor Katson
d1f6a57e54
Remove bad log message 2024-08-21 17:42:19 +01:00
Igor Katson
d5ddf4d294
Session is now properly cleaned up 2024-08-21 17:25:00 +01:00
Igor Katson
ad5f62b9b9
Move session to shared state 2024-08-21 16:15:15 +01:00
Igor Katson
451debedbb
Renames 2024-08-21 16:12:20 +01:00
Igor Katson
b4512e4809
Move some fields into ManagedTorrentInfo 2024-08-21 16:06:16 +01:00
Igor Katson
ad7b59ea3c
Remove some args in start() function 2024-08-21 15:57:18 +01:00
Igor Katson
80f4d3b1b2
Remove ManagedTorrentBuilder 2024-08-21 15:51:58 +01:00
Igor Katson
c601b399f2
Workaround rustfmt bug in session.rs 2024-08-21 12:07:42 +01:00
Igor Katson
06e88c138f
Session speed estimator 2024-08-21 11:57:45 +01:00
Igor Katson
67afdb0aa5
Add a struct for session stats + bump the counters 2024-08-21 11:22:37 +01:00