Update TODO

This commit is contained in:
Joakim Frostegård 2020-07-05 20:33:31 +02:00
parent c53c3928ab
commit fb4b190173

View file

@ -13,10 +13,14 @@
* non-compact peers for ipv6 generally: use ResponsePeerList enum * non-compact peers for ipv6 generally: use ResponsePeerList enum
* on ipv6, compact=1 should result in error response * on ipv6, compact=1 should result in error response
* on ipv4, compact=0 should result in error response * on ipv4, compact=0 should result in error response
* use fastrand instead of rand? (also for ws) * tests of request parsing
* remove either dependency? * 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
write actually block here? And what action should be taken then?
### less important ### less important
* use fastrand instead of rand? (also for ws and udp then I guess because of
shared function)
* request parsing in protocol module instead of in network, maybe from byte * request parsing in protocol module instead of in network, maybe from byte
buffer? Not obvious what error return type to use then (anyhow maybe?) buffer? Not obvious what error return type to use then (anyhow maybe?)
* log more info for all log modes (function location etc)? also for aquatic_ws * log more info for all log modes (function location etc)? also for aquatic_ws