drogonframework / drogonframework/drogon

catch SIGINT signal

Open
#1,747 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
14.3k
Forks
1.4k
Avg merge
1d 12h
Merged PRs (30d)
15

Description

**Notice**
If you need support or clarification regarding the usage of Drogon in your project, visit the official Drogon support channel at [gitter](https://gitter.im/drogon-web/community)

Please create a new issue only if you think you have found a bug or if have a feature request/enhancement.

**Is your feature request related to a problem? Please describe.**
It would be nice if Drogon would catch the SIGINT and allowed me to run a subroutine.

**Describe the solution you'd like**
catch SIGINT and end program without warnings.

**Describe alternatives you've considered**
I am not sure how to do this in c but in a shell script I would run something like trap on SIGINT.

**Additional context**
![image](https://github.com/drogonframework/drogon/assets/141711575/2f582852-712d-4931-bed0-b2ba571a34ae)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.