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

Implement graceful shutdown #27

Open
zeeshanabid opened this issue Feb 15, 2017 · 0 comments
Open

Implement graceful shutdown #27

zeeshanabid opened this issue Feb 15, 2017 · 0 comments

Comments

@zeeshanabid
Copy link

How can I implement graceful shutdown of the server?

I would like to capture SIGINT and SIGHUP signals and then I would like to stop listening for new connections. I would still like to process pending connections and after some TIMEOUT I would like to kill the server even if there are still some pending connections.

Can you help me in this matter?

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