Update TODO

This commit is contained in:
Joakim Frostegård 2020-07-03 14:04:37 +02:00
parent f9c1da9520
commit bfabd1fe57

13
TODO.md
View file

@ -10,9 +10,16 @@
* test tls * test tls
* request parsing in protocol module instead of in network? Not obvious * request parsing in protocol module instead of in network? Not obvious
what error return type to use then what error return type to use then
* compact peer representation in announce response: is implementation correct? * scrape info hash parsing: multiple ought to be accepted, might need to roll
* scrape info hash parsing: multiple ought to be accepted my own url encode crate anyway or possibly use https://github.com/samscott89/serde_qs
* scrape response panic * serialization
* there is the question of how serialization should be done for 20 byte
arrays, such as in the scrape response. There, a 20 byte byte string is
expected. I think the bendy AsString wrapper is what is needed here, but
the question is how to combine it with serde serialization AND how to
combine that with future serialization for load tester, where no bencode
should be involved.
* compact peer representation in announce response: is implementation correct?
* move stuff to common crate with ws: what about Request/InMessage etc? * move stuff to common crate with ws: what about Request/InMessage etc?
* don't overdo this * don't overdo this
* 20 byte helper * 20 byte helper