aquatic_ws: set so_reuseport on socket, with new create_listener fn

This commit is contained in:
Joakim Frostegård 2020-05-12 15:23:25 +02:00
parent 21048727db
commit e4bdfd06fb
3 changed files with 36 additions and 25 deletions

View file

@ -2,17 +2,18 @@
## aquatic_ws
* network
* open socket with so_reuseport and nonblocking
* native_tls for wss support
* handshake: deregister stream when applicable
* connection cleaning: shrink to fit
* test
* test full torrent transfer (offer-answer exchange)
* torrent state cleaning
* log crate instead of println/eprintln
* log crate instead of println/eprintln?
* privdrop
* some config.network fields are actually used in handler. maybe they should
be checked while parsing? not completely clear
* config
* send/recv buffer size: how does this interact with tls?
* some config.network fields are actually used in handler. maybe they should
be checked while parsing? not completely clear
## aquatic_udp
* mio: set oneshot for epoll and kqueue? otherwise, stop reregistering?