SO_REUSEPORT support
rvlzzr opened this issue · 2 comments
rvlzzr commented
Some way to enable reuse_port from net2::unix::UnixTcpBuilderExt would be useful, or a way to pass in a TcpBuilder instead of a SocketAddr so things like ttl, reuse_address, reuse_port, etc can be configured as desired.
fafhrd91 commented
i think this is good idea. but should HttpServer just accept std::net::TcpStream?
would you provide PR?
fafhrd91 commented
added HttpServer::listen()