comparison 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
comparison
equal deleted inserted replaced
53:b6565ddf033b 54:bcb5fce0b038
630 { 630 {
631 ngx_delete_pidfile(cycle); 631 ngx_delete_pidfile(cycle);
632 632
633 ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, "exit"); 633 ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, "exit");
634 634
635 /*
636 * we do not destroy cycle->pool here because a signal handler
637 * that uses cycle->log can be called at this point
638 */
639
640 #if 0
635 ngx_destroy_pool(cycle->pool); 641 ngx_destroy_pool(cycle->pool);
642 #endif
636 643
637 exit(0); 644 exit(0);
638 } 645 }
639 646
640 647
716 723
717 /* 724 /*
718 * we do not destroy cycle->pool here because a signal handler 725 * we do not destroy cycle->pool here because a signal handler
719 * that uses cycle->log can be called at this point 726 * that uses cycle->log can be called at this point
720 */ 727 */
728
729 #if 0
730 ngx_destroy_pool(cycle->pool);
731 #endif
721 exit(0); 732 exit(0);
722 } 733 }
723 734
724 ngx_log_debug0(NGX_LOG_DEBUG_EVENT, cycle->log, 0, "worker cycle"); 735 ngx_log_debug0(NGX_LOG_DEBUG_EVENT, cycle->log, 0, "worker cycle");
725 736
734 745
735 /* 746 /*
736 * we do not destroy cycle->pool here because a signal handler 747 * we do not destroy cycle->pool here because a signal handler
737 * that uses cycle->log can be called at this point 748 * that uses cycle->log can be called at this point
738 */ 749 */
750
751 #if 0
752 ngx_destroy_pool(cycle->pool);
753 #endif
754
739 exit(0); 755 exit(0);
740 } 756 }
741 757
742 if (ngx_quit) { 758 if (ngx_quit) {
743 ngx_quit = 0; 759 ngx_quit = 0;