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
|
fb4e4c5741
|
Merge pull request #289 from ikatson/clippy-1.83
Clippy updates + update Rust deps
|
2024-12-03 22:22:09 +01: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
|
1998f7d859
|
Bump min Rust version to 1.78. Check on 1.78 and 1.83
|
2024-12-03 20:51:36 +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
|
a728b6666c
|
Merge pull request #283 from luigi311/lto
Enable thin LTO release but not release-github
|
2024-11-28 09:49:55 +01:00 |
|
Luis Garcia
|
9e998c67bc
|
disable lto on release-github
Signed-off-by: Luis Garcia <git@luigi311.com>
|
2024-11-24 04:11:57 -07:00 |
|
Luis Garcia
|
b84f606825
|
Enable thin LTO
Signed-off-by: Luis Garcia <git@luigi311.com>
|
2024-11-24 03:23:20 -07:00 |
|
Igor Katson
|
3378ecb5b4
|
Merge pull request #279 from ikatson/http-api-auth
Basic auth in HTTP API
|
2024-11-21 14:50:53 +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
|
09c9659b88
|
Merge pull request #275 from ikatson/updown-ratelimits
undefined
|
2024-11-20 16:26:57 +00:00 |
|
Igor Katson
|
e5c11e778a
|
Trying to fix rust compat
|
2024-11-20 16:17:32 +00:00 |
|
Igor Katson
|
69a638fb81
|
Poor mans desktop (UI) widgets for ratelimits
|
2024-11-20 16:12:42 +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
|
835acbce6b
|
Merge pull request #271 from ikatson/infohash-only-url
[feature] support 40-byte infohash (not a magnet) as a way to add torrents
|
2024-11-07 20:28:38 +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
|
8d2aa93a78
|
Merge pull request #270 from ikatson/bep-47-2
BEP-47 - UI support and updates
|
2024-11-07 16:14:08 +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
|
c2b2e8e8e7
|
Merge pull request #269 from ikatson/bep-47
BEP-47 padding files + refactor related code
|
2024-11-07 15:08:20 +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 |
|