mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 18:25:30 +00:00
aquatic: Config: add fields for max handler request, channel timeout
This commit is contained in:
parent
e61c961126
commit
5430e561f5
3 changed files with 24 additions and 5 deletions
4
TODO.md
4
TODO.md
|
|
@ -1,12 +1,10 @@
|
|||
# TODO
|
||||
|
||||
## aquatic
|
||||
* thread 'main' panicked at 'overflow when subtracting duration from instant', src/libstd/time.rs:374:9
|
||||
* `thread 'main' panicked at 'overflow when subtracting duration from instant', src/libstd/time.rs:374:9`
|
||||
* Put connections and torrent in a struct behind a commong lock. Add
|
||||
functionality for checking if mutex is unlocked before quitting to
|
||||
collect requests from channel (try_recv) up to a limit.
|
||||
* Add config variable like "handler_max_requests" (default 1024?)
|
||||
* Shorter timeout on handler channel collector (1ms?)
|
||||
* 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
|
||||
ones, have to check.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue