You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 13, 2018. It is now read-only.
This strikes me as "unprofessional," for lack of a better word. That is, I can't see myself actually allowing panics to reach an end user, but apparently tokio-proto doesn't give you a choice in that matter.
tokio-proto is on the back burner right now in favor of tokio-core (renamed tokio) and tokio. The RFC talks about this a bit. I doubt this will be fixed anytime soon as there isn't much in the way of time.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
TcpServer::serve()
callsunwrap()
when bind/setting up the socket and does not return the error or let the user handle the error in anyway. A link to the line in question is here: https://github.com/tokio-rs/tokio-proto/blob/master/src/tcp_server.rs#L187This makes it impossible to gracefully handle situations when the socket might already be in use.
The text was updated successfully, but these errors were encountered: