Skip to content

Close client connections on SIGINT/SIGTERM #2959

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

Closed
wants to merge 3 commits into from

Conversation

kulshekhar
Copy link
Contributor

@kulshekhar kulshekhar commented Oct 29, 2016

Please DO NOT merge this yet

Fixes #2875

Currerntly, express doesn't shut down immediately after receiving SIGINT/SIGTERM if it has client connections that haven't timed out.

This PR intends to fix this behavior such that parse server will close all open connections and initiate the shutdown process as soon as it receives a SIGINT/SIGTERM signal.

@facebook-github-bot
Copy link

@kulshekhar updated the pull request - view changes

@facebook-github-bot
Copy link

@kulshekhar updated the pull request - view changes

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

Successfully merging this pull request may close these issues.

Server doesn't shut down with Ctrl+C
2 participants