mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 10:45:30 +00:00
aquatic_http: add ipv6 compact responses; fix ipv4/ipv6 issue
This commit is contained in:
parent
5ff00e866d
commit
43a33d80c4
6 changed files with 127 additions and 27 deletions
7
TODO.md
7
TODO.md
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
## General
|
||||
|
||||
* use ipv4-mapped address functions
|
||||
* avx-512 should be avoided, maybe this should be mentioned in README
|
||||
and maybe run scripts should be adjusted
|
||||
|
||||
|
|
@ -10,9 +11,9 @@
|
|||
* test tls
|
||||
* current serialized byte strings valid
|
||||
* scrape: does it work with multiple hashes?
|
||||
* ipv6 response peers: use https://www.bittorrent.org/beps/bep_0007.html?
|
||||
(peers6 compact key)
|
||||
* compact=0 should result in error response
|
||||
* store Ipv4Addr / Ipv6 addr in peer map, for correctness and so that strange
|
||||
conversion in handler doesn't have to occur
|
||||
* compact=0 should result in error response
|
||||
* tests of request parsing
|
||||
* tests of response serialization (against data known to be good would be nice)
|
||||
* Connection.send_response: handle case when all bytes are not written: can
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue