Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SO_REUSEPORT support #91

Closed
rvlzzr opened this issue Mar 3, 2018 · 2 comments
Closed

SO_REUSEPORT support #91

rvlzzr opened this issue Mar 3, 2018 · 2 comments

Comments

@rvlzzr
Copy link

rvlzzr commented Mar 3, 2018

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
Copy link
Member

fafhrd91 commented Mar 3, 2018

i think this is good idea. but should HttpServer just accept std::net::TcpStream?

would you provide PR?

@fafhrd91
Copy link
Member

fafhrd91 commented Mar 7, 2018

added HttpServer::listen()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants