mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic: save valid_until Instant in connections and requests
Hopefully prevents strange subtraction overflow error, but we'll see.
This commit is contained in:
parent
587096f76f
commit
06ff4ad9d0
5 changed files with 47 additions and 44 deletions
2
TODO.md
2
TODO.md
|
|
@ -1,7 +1,6 @@
|
|||
# TODO
|
||||
|
||||
## aquatic
|
||||
* `thread 'main' panicked at 'overflow when subtracting duration from instant', src/libstd/time.rs:374:9`
|
||||
* 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
|
||||
|
|
@ -19,6 +18,7 @@
|
|||
|
||||
# Not important
|
||||
|
||||
* No overflow on instant + duration arithmetic now, hopefully?
|
||||
* extract_response_peers
|
||||
* Cleaner code
|
||||
* Stack-allocated vector?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue