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

Option to gracefully stop the server/check if the server is still running #7

Open
LukasKalbertodt opened this issue May 11, 2021 · 0 comments

Comments

@LukasKalbertodt
Copy link
Owner

Currently the server, once started, just runs forever and there is not really a way to know whether it's still running. So it might be useful to add a way to gracefully stop the server, similar to how hyper does it. As far as I understand it is already possible to stop the server by using tokio::select! or something like that, but that might just drop ongoing HTTP connections. We might also want to add a method to Controller to check whether the server is still running.

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

1 participant