Update TODO

This commit is contained in:
Joakim Frostegård 2020-05-23 15:47:11 +02:00
parent d4bcc14c82
commit 078a8c2868

18
TODO.md
View file

@ -1,14 +1,11 @@
# TODO # TODO
## aquatic_ws ## aquatic_ws
* network * is it even necessary to check if event is readable in poll, since that
* send/recv buffer size config is all we're listening for?
* tcp backlog setting * error in workers: print it, exit program with non-zero exit code
* is it even necessary to check if event is readable in poll, since that
is all we're listening for?
* panic/error in workers: print error, exit program with non-zero exit code
* privdrop * privdrop
* add sensible logging method * add sensible logging method, maybe stderrlog with quiet as default
## aquatic_udp ## aquatic_udp
* mio: set oneshot for epoll and kqueue? otherwise, stop reregistering? * mio: set oneshot for epoll and kqueue? otherwise, stop reregistering?
@ -23,8 +20,11 @@
# Not important # Not important
## aquatic_ws ## aquatic_ws
* some config.network fields are actually used in handler. maybe they should * config
be checked while parsing? not completely clear * send/recv buffer size?
* tcp backlog?
* some config.network fields are actually used in handler. maybe they should
be checked while parsing? not completely clear
* "close connection" message from handler on peer_id and socket_addr mismatch? * "close connection" message from handler on peer_id and socket_addr mismatch?
Probably not really necessary. If it is an honest mistake, peer will just Probably not really necessary. If it is an honest mistake, peer will just
keep announcing and after a few minutes, the peer in the map will be cleaned keep announcing and after a few minutes, the peer in the map will be cleaned