Commit 9a8e9815 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Cleanup

parent 8c3e8649
...@@ -271,7 +271,7 @@ void worker_process_kill(int signum) { ...@@ -271,7 +271,7 @@ void worker_process_kill(int signum) {
} }
kill(s->worker_pid, signum); kill(s->worker_pid, signum);
} }
worker_processes.clear(); worker_process_remove_all();
} }
} // namespace } // namespace
...@@ -355,7 +355,7 @@ void save_pid() { ...@@ -355,7 +355,7 @@ void save_pid() {
} // namespace } // namespace
namespace { namespace {
void exec_binary(WorkerProcess *wp) { void exec_binary() {
int rv; int rv;
sigset_t oldset; sigset_t oldset;
...@@ -527,7 +527,7 @@ void signal_cb(struct ev_loop *loop, ev_signal *w, int revents) { ...@@ -527,7 +527,7 @@ void signal_cb(struct ev_loop *loop, ev_signal *w, int revents) {
reopen_log(wp); reopen_log(wp);
return; return;
case EXEC_BINARY_SIGNAL: case EXEC_BINARY_SIGNAL:
exec_binary(wp); exec_binary();
return; return;
case GRACEFUL_SHUTDOWN_SIGNAL: case GRACEFUL_SHUTDOWN_SIGNAL:
ipc_send(wp, SHRPX_IPC_GRACEFUL_SHUTDOWN); ipc_send(wp, SHRPX_IPC_GRACEFUL_SHUTDOWN);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment