nghttpx: Don't need to trap SIGTERM and SIGINT signals

This commit is contained in:
Tatsuhiro Tsujikawa 2015-09-29 00:07:29 +09:00
parent ad5d73738c
commit a28aee058f
1 changed files with 2 additions and 3 deletions

View File

@ -818,9 +818,8 @@ int event_loop() {
ssv.worker_process_pid = pid;
constexpr auto signals =
std::array<int, 5>{{REOPEN_LOG_SIGNAL, EXEC_BINARY_SIGNAL,
GRACEFUL_SHUTDOWN_SIGNAL, SIGINT, SIGTERM}};
constexpr auto signals = std::array<int, 3>{
{REOPEN_LOG_SIGNAL, EXEC_BINARY_SIGNAL, GRACEFUL_SHUTDOWN_SIGNAL}};
auto sigevs = std::array<ev_signal, signals.size()>();
for (size_t i = 0; i < signals.size(); ++i) {