aquatic: handler: put responses in vector, send after releasing lock

This commit is contained in:
Joakim Frostegård 2020-04-12 14:54:38 +02:00
parent 16155f3de5
commit f8713c09c1
2 changed files with 28 additions and 20 deletions

View file

@ -2,8 +2,6 @@
## aquatic
* `thread 'main' panicked at 'overflow when subtracting duration from instant', src/libstd/time.rs:374:9`
* Handler: put responses in vector and send them all together after releasing
lock?
* Use bounded request channel?
* Handle Ipv4 and Ipv6 peers. Probably split state. Ipv4 peers can't make
use of Ipv6 ones. Ipv6 ones may or may note be able to make use of Ipv4