Igor Katson
|
ac775affef
|
nit: decrease branch nesting
|
2024-12-04 10:21:10 +00:00 |
|
Igor Katson
|
9d71eb4872
|
Remove PeerStateNoMut
|
2024-12-04 10:17:42 +00:00 |
|
Igor Katson
|
956e6d4f08
|
Move all methods to Peer, not PeerStateNoMut
|
2024-12-04 10:12:44 +00:00 |
|
Igor Katson
|
85b65dcef5
|
Rename a couple methods
|
2024-12-04 10:08:51 +00:00 |
|
Igor Katson
|
fa3e8d949b
|
Peer struct knows its addr
|
2024-12-04 10:06:08 +00:00 |
|
Igor Katson
|
adc2ca97b3
|
A bit of refactoring to store live_peers
|
2024-12-04 10:03:08 +00:00 |
|
Igor Katson
|
7a52721af9
|
Refactor for readability
|
2024-12-04 09:13:39 +00:00 |
|
Igor Katson
|
c8cd17ce8e
|
Format comments
|
2024-12-04 09:13:39 +00:00 |
|
Ivan
|
90a823b3ed
|
Small fixes base on comments in PR #261
|
2024-12-04 09:13:39 +00:00 |
|
Ivan
|
42d184ff6b
|
Logging
|
2024-12-04 09:13:39 +00:00 |
|
Ivan
|
1fa05837fb
|
Include only addresses with known working connections
|
2024-12-04 09:13:39 +00:00 |
|
Ivan
|
1129d5b6e6
|
Fix missing fn
|
2024-12-04 09:13:39 +00:00 |
|
Ivan
|
3c470e1670
|
Sending PEX - initial concept
|
2024-12-04 09:13:38 +00:00 |
|
Igor Katson
|
131e978a22
|
Cargo fmt
|
2024-12-03 21:12:33 +00:00 |
|
Igor Katson
|
1fb3d7cf55
|
Trying to fix Rust 1.78
|
2024-12-03 21:10:09 +00:00 |
|
Igor Katson
|
301232c9bd
|
Trying to fix Rust 1.78
|
2024-12-03 21:07:44 +00:00 |
|
Igor Katson
|
44c54ed3ce
|
Try to remove default features from "url" to compile on older Rusts
|
2024-12-03 20:58:21 +00:00 |
|
Igor Katson
|
76cf1eb00a
|
Update cargo crates
|
2024-12-03 20:44:23 +00:00 |
|
Igor Katson
|
438e164ffd
|
Fix clippy errors
|
2024-12-03 20:40:02 +00:00 |
|
Igor Katson
|
6213481732
|
WWW-Authenticate header
|
2024-11-20 17:29:21 +00:00 |
|
Igor Katson
|
3e8a39314b
|
Basic auth in HTTP API
|
2024-11-20 17:20:44 +00:00 |
|
Igor Katson
|
e5c11e778a
|
Trying to fix rust compat
|
2024-11-20 16:17:32 +00:00 |
|
Igor Katson
|
06b50d65ab
|
Desktop config: ratelimits
|
2024-11-20 15:30:56 +00:00 |
|
Igor Katson
|
2a7c632b2b
|
Expose ratelimits in CLI
|
2024-11-18 17:40:04 +00:00 |
|
Igor Katson
|
1168307189
|
change RwLock<Option<Arc>> to ArcSwapOption
|
2024-11-18 17:34:50 +00:00 |
|
Igor Katson
|
855e7ccaeb
|
Swap Arc<Option> into Option<Arc>
|
2024-11-18 17:34:50 +00:00 |
|
Igor Katson
|
1dbdeb5bbe
|
Replace leaky_bucket with governor crate
|
2024-11-18 17:34:50 +00:00 |
|
Igor Katson
|
3924197461
|
Ready to test session limits
|
2024-11-18 17:34:50 +00:00 |
|
Igor Katson
|
37810443df
|
Ability to set limits
|
2024-11-18 17:34:50 +00:00 |
|
Igor Katson
|
25b309867b
|
Initial impl of up/down ratelimits
|
2024-11-18 17:34:50 +00:00 |
|
Igor Katson
|
616498f500
|
Update minimal Rust version to 1.76
|
2024-11-18 17:34:32 +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
|
c3c413c14b
|
Do not display padding files in UI
|
2024-11-07 16:07:16 +00:00 |
|
Igor Katson
|
ecc094a444
|
Do not create empty folders for padding files
|
2024-11-07 15:58:03 +00:00 |
|
Igor Katson
|
cc002a4ed3
|
Fix initial peers for HTTP client
|
2024-11-07 15:19:11 +00:00 |
|
Igor Katson
|
312cdb03c9
|
Fix a bug and tests
|
2024-11-07 14:08:24 +00:00 |
|
Igor Katson
|
8bb029bbc0
|
do not create padding files
|
2024-11-07 13:46:12 +00:00 |
|
Igor Katson
|
af7a0ddb4f
|
do not read/write/set_len to padding files
|
2024-11-07 13:46:12 +00:00 |
|
Igor Katson
|
32d658e2d9
|
Reuse file_infos in a couple places
|
2024-11-07 13:46:12 +00:00 |
|
Igor Katson
|
2e7c7216e3
|
compute "attrs" field
|
2024-11-07 13:46:12 +00:00 |
|
Igor Katson
|
ab173c00f6
|
parse "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 |
|
Igor Katson
|
af0389de05
|
bep 47: serialize/deserialize new fields
|
2024-11-07 13:46:11 +00:00 |
|
Igor Katson
|
60cea68985
|
Add days to UI ETA and uptime calculations
|
2024-11-07 13:26:32 +00:00 |
|
Igor Katson
|
a90f245dc9
|
Add with_stats=true to torrents list
|
2024-11-07 08:57:16 +00:00 |
|
Igor Katson
|
30bfb3ea19
|
Unify API types a bit (remove list item)
|
2024-11-07 08:57:16 +00:00 |
|
Igor Katson
|
03022f16c2
|
Fix a lint
|
2024-11-06 16:30:12 +00:00 |
|
Igor Katson
|
e371522a80
|
Fix num_tasks == 1 assertion
|
2024-11-06 16:28:32 +00:00 |
|