add aquatic_common_tcp crate, move common functionality there

This commit is contained in:
Joakim Frostegård 2020-07-02 16:34:36 +02:00
parent 1eaf2a0351
commit 2e53a2adc1
14 changed files with 163 additions and 127 deletions

View file

@ -6,6 +6,7 @@
and maybe run scripts should be adjusted
## aquatic_http
* move stuff to common crate with ws: what about Request/InMessage etc?
* handshake stuff
* fix overcomplicated and probably incorrect implementation
* support TLS and plain at the same time??
@ -13,7 +14,6 @@
* fixed size buffer is probably bad
* compact peer representation in announce response: is implementation correct?
* scrape info hash parsing: multiple ought to be accepted
* move stuff to common crate with ws: what about Request/InMessage etc?
* info hashes, peer ids: check that whole deserialization and url decoding
works as it should. There are suspicously many `\u{fffd}`