Is there a way to determine whether the server was shut down using a handle or a SIGINT? #2800
-
|
In my application, I am throwing the server handle to a separate thread before |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
No, the signal generated from ctrl-c just sends a stop signal like you would do manually. For your use case, it could be easier using |
Beta Was this translation helpful? Give feedback.
No, the signal generated from ctrl-c just sends a stop signal like you would do manually. For your use case, it could be easier using
HttpServer::disable_signalsand handling the ctrl-c manually, too.