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

add support for serverside safe shutdown #15

Open
novedevo opened this issue Jun 19, 2021 · 2 comments
Open

add support for serverside safe shutdown #15

novedevo opened this issue Jun 19, 2021 · 2 comments

Comments

@novedevo
Copy link
Member

we can't close any connections without sending 421 ( we can send asynchronously if necessary), so we should provide a way to shutdown the program (perhaps responding to kill -9 signals or something) that sends 421s to all the clients and saves any necessary information to disk before closing

@novedevo
Copy link
Member Author

novedevo commented Oct 2, 2021

RFC-compliant (see d789975 and related commits), but more processes should probably check for signals (e.g. test for signals while waiting for a DNS resolution)

@novedevo
Copy link
Member Author

novedevo commented Oct 2, 2021

b25aa3e is relevant

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