Mercurial > hg > nginx-vendor-current
diff src/os/unix/ngx_process_cycle.c @ 54:bcb5fce0b038 NGINX_0_1_27
nginx 0.1.27
*) Feature: the "blocked" parameter of the "valid_referers" directive.
*) Change: the errors while handling the request header now logged at
"info" level. The server name and the "Host" and "Referer" header
lines also logged.
*) Change: the "Host" header line is also logged in error log.
*) Feature: the proxy_pass_unparsed_uri directive. The special handling
of the "://" symbols in URI, appeared in 0.1.11 version, now is
canceled.
*) Bugfix: nginx could not be built on FreeBSD and Linux, if the
--without-ngx_http_auth_basic_module configuration parameter was
used.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 28 Mar 2005 00:00:00 +0400 |
parents | 72eb30262aac |
children | b55cbf18157e |
line wrap: on
line diff
--- a/src/os/unix/ngx_process_cycle.c +++ b/src/os/unix/ngx_process_cycle.c @@ -632,7 +632,14 @@ ngx_master_exit(ngx_cycle_t *cycle) ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, "exit"); + /* + * we do not destroy cycle->pool here because a signal handler + * that uses cycle->log can be called at this point + */ + +#if 0 ngx_destroy_pool(cycle->pool); +#endif exit(0); } @@ -718,6 +725,10 @@ ngx_worker_process_cycle(ngx_cycle_t *cy * we do not destroy cycle->pool here because a signal handler * that uses cycle->log can be called at this point */ + +#if 0 + ngx_destroy_pool(cycle->pool); +#endif exit(0); } @@ -736,6 +747,11 @@ ngx_worker_process_cycle(ngx_cycle_t *cy * we do not destroy cycle->pool here because a signal handler * that uses cycle->log can be called at this point */ + +#if 0 + ngx_destroy_pool(cycle->pool); +#endif + exit(0); }