Skip to content

Handle SIGTERM#19

Merged
svnoak merged 2 commits intosvnoak:mainfrom
Joxtacy:handle-sigterm
Jul 18, 2025
Merged

Handle SIGTERM#19
svnoak merged 2 commits intosvnoak:mainfrom
Joxtacy:handle-sigterm

Conversation

@Joxtacy
Copy link
Contributor

@Joxtacy Joxtacy commented Jul 18, 2025

  • feat(client): handle SIGTERM properly on Unix
  • style(server): run cargo fmt

Add handling of the SIGTERM signal on Unix systems to properly send the Close frame before killing the client.

Joxtacy added 2 commits July 18, 2025 16:35
To make sure that the client properly sends the `Close` message to the
websocket server we can handle `SIGTERM` to send it before killing the
process.
@svnoak
Copy link
Owner

svnoak commented Jul 18, 2025

Nice, thanks for the contribution!

@svnoak svnoak merged commit 424d72b into svnoak:main Jul 18, 2025
2 checks passed
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.

2 participants