udp: index peers by packet src ip and provided port instead of peer_id

This commit is contained in:
Joakim Frostegård 2024-01-04 17:04:17 +01:00
parent df13ae9399
commit 0eaa4475e2
4 changed files with 27 additions and 27 deletions

View file

@ -18,6 +18,9 @@
#### Changed
* 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.
* 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