mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
udp: store torrents with few peers without an extra heap alloc
This commit is contained in:
parent
d8bd964a57
commit
e77c9f46e7
4 changed files with 269 additions and 138 deletions
|
|
@ -21,6 +21,8 @@
|
|||
* Index peers by packet source IP and provided port, instead of by peer_id.
|
||||
This prevents users from impersonating others and is likely also slightly
|
||||
faster for IPv4 peers.
|
||||
* Store torrents with up to two peers without an extra heap allocation for the
|
||||
peers.
|
||||
* Remove support for unbounded worker channels
|
||||
* Add backpressure in socket workers. They will postpone reading from the
|
||||
socket if sending a request to a swarm worker failed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue