Joakim Frostegård
|
b42d55b003
|
Replace indexmap-amortized with plain (ahash) indexmap
|
2023-02-25 22:37:54 +01:00 |
|
Joakim Frostegård
|
77f5e68a9e
|
udp: TorrentData: stop explicitly storing num_leechers
Calculate it with peers.len() - num_seeders instead
|
2022-10-26 20:59:25 +02:00 |
|
Joakim Frostegård
|
ed98327e1a
|
udp: if PeerStatus is Stopped, return empty peer list
|
2022-09-25 11:51:28 +02:00 |
|
Joakim Frostegård
|
9797f24299
|
udp: handle_announce_request: remove two noop casts
|
2022-09-18 18:09:43 +02:00 |
|
Joakim Frostegård
|
5889cb22f7
|
udp: handle_announce_request: don't cast usize to i32, use try_into
|
2022-09-18 18:06:31 +02:00 |
|
Joakim Frostegård
|
e9f83403ba
|
udp: fix bug in TorrentData num_seeders/num_leechers updates
|
2022-09-18 17:55:39 +02:00 |
|
Joakim Frostegård
|
becf88c372
|
udp: in Peer, replace PeerStatus with is_seeder bool
|
2022-08-06 18:14:12 +02:00 |
|
Joakim Frostegård
|
c76d7442e2
|
Use regular (ahash) IndexMap for PeerMaps
|
2022-08-06 16:53:49 +02:00 |
|
Joakim Frostegård
|
f0e0a84088
|
udp: add optional peers per torrent statistics
|
2022-08-06 13:56:19 +02:00 |
|
Joakim Frostegård
|
fcf18c845f
|
Reduce ValidUntil size; reduce size of various ws structs
|
2022-08-01 14:15:06 +02:00 |
|
Joakim Frostegård
|
fb2794643d
|
udp, common: rename request workers to swarm workers
|
2022-07-04 11:49:39 +02:00 |
|