From b1dfe478a03ad6919f174812951f6a2bec8befae Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 21 Dec 2004 12:30:30 +0000 Subject: nginx-0.1.13-RELEASE import *) Feature: the server_names_hash and server_names_hash_threshold directives. *) Bugfix: the *.domain.tld names in the "server_name" directive did not work. *) Bugfix: the %request_length log parameter logged the incorrect length. --- src/os/unix/ngx_posix_init.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/os/unix/ngx_posix_init.c') diff --git a/src/os/unix/ngx_posix_init.c b/src/os/unix/ngx_posix_init.c index 626d821e9..abc7f81f7 100644 --- a/src/os/unix/ngx_posix_init.c +++ b/src/os/unix/ngx_posix_init.c @@ -192,7 +192,7 @@ void ngx_signal_handler(int signo) case ngx_signal_value(NGX_REOPEN_SIGNAL): ngx_reopen = 1; - action = ", reopen logs"; + action = ", reopening logs"; break; case ngx_signal_value(NGX_CHANGEBIN_SIGNAL): @@ -236,6 +236,8 @@ void ngx_signal_handler(int signo) case NGX_PROCESS_WORKER: switch (signo) { + case ngx_signal_value(NGX_NOACCEPT_SIGNAL): + ngx_debug_quit = 1; case ngx_signal_value(NGX_SHUTDOWN_SIGNAL): ngx_quit = 1; action = ", shutting down"; @@ -249,11 +251,10 @@ void ngx_signal_handler(int signo) case ngx_signal_value(NGX_REOPEN_SIGNAL): ngx_reopen = 1; - action = ", reopen logs"; + action = ", reopening logs"; break; case ngx_signal_value(NGX_RECONFIGURE_SIGNAL): - case ngx_signal_value(NGX_NOACCEPT_SIGNAL): case ngx_signal_value(NGX_CHANGEBIN_SIGNAL): case SIGIO: action = ", ignoring"; @@ -263,7 +264,7 @@ void ngx_signal_handler(int signo) break; } - ngx_log_error(NGX_LOG_INFO, ngx_cycle->log, 0, + ngx_log_error(NGX_LOG_NOTICE, ngx_cycle->log, 0, "signal %d (%s) received%s", signo, sig->signame, action); if (ignore) { -- cgit v1.2.3