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

Use a "heartbeat" to the server to reinstate Ctrl+C #17

Open
propensive opened this issue Apr 6, 2024 · 0 comments
Open

Use a "heartbeat" to the server to reinstate Ctrl+C #17

propensive opened this issue Apr 6, 2024 · 0 comments
Assignees
Labels
api Relates to the API design enhancement An improvement to existing functionality minor Has only a small impact for the majority of users

Comments

@propensive
Copy link
Owner

When the server crashes with clients still connected, those clients can't exit because Ctrl+C is disabled and signals are trapped by the script. Traps should forward signals to the server only if an alive flag is true. It should be true by default, but a failed heartbeat running as a background process should set it to false.

@propensive propensive self-assigned this Apr 6, 2024
@propensive propensive added enhancement An improvement to existing functionality minor Has only a small impact for the majority of users api Relates to the API design labels Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Relates to the API design enhancement An improvement to existing functionality minor Has only a small impact for the majority of users
Projects
Status: Todo
Development

No branches or pull requests

1 participant