The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.
On Linux implementation waitForTerminationRequest is configured for catching SIGTERM SIGQUIT and SIGINT only when POCO_ENABLE_DEBUGGER env is enabled.
The Poco::Util::ServerApplication::terminate(); function should "Sends a friendly termination request to the application."
calls
Poco::Process::requestTermination(Process::id());
that do a
kill(pid, SIGINT)
Probably we should alays caught SIGINT or change che requestTermination function
On Linux implementation waitForTerminationRequest is configured for catching SIGTERM SIGQUIT and SIGINT only when POCO_ENABLE_DEBUGGER env is enabled.
The Poco::Util::ServerApplication::terminate(); function should "Sends a friendly termination request to the application."
callsPoco::Process::requestTermination(Process::id());
that do akill(pid, SIGINT)
Probably we should alays caught SIGINT or change che requestTermination function