comparison src/os/unix/ngx_process.c @ 604:428c6e58046a NGINX_0_9_0

nginx 0.9.0 *) Feature: the "keepalive_disable" directive. *) Feature: the "map" directive supports variables as value of a defined variable. *) Feature: the "map" directive supports empty strings as value of the first parameter. *) Feature: the "map" directive supports expressions as the first parameter. *) Feature: nginx(8) manual page. Thanks to Sergey Osokin. *) Feature: Linux accept4() support. Thanks to Simon Liu. *) Workaround: elimination of Linux linker warning about "sys_errlist" and "sys_nerr"; the warning had appeared in 0.8.35. *) Bugfix: a segmentation fault might occur in a worker process, if the "auth_basic" directive was used. Thanks to Michail Laletin. *) Bugfix: compatibility with ngx_http_eval_module; the bug had appeared in 0.8.42.
author Igor Sysoev <http://sysoev.ru>
date Mon, 29 Nov 2010 00:00:00 +0300
parents 53f5f04a64b8
children 23ef0645ea57
comparison
equal deleted inserted replaced
603:94ea26a3b3aa 604:428c6e58046a
477 * erroneously call the signal handler for exited process 477 * erroneously call the signal handler for exited process
478 * despite waitpid() may be already called for this process. 478 * despite waitpid() may be already called for this process.
479 */ 479 */
480 480
481 if (err == NGX_ECHILD) { 481 if (err == NGX_ECHILD) {
482 ngx_log_error(NGX_LOG_INFO, ngx_cycle->log, 0, 482 ngx_log_error(NGX_LOG_INFO, ngx_cycle->log, err,
483 "waitpid() failed (%d: %s)", 483 "waitpid() failed");
484 err, ngx_sigsafe_strerror(err));
485 return; 484 return;
486 } 485 }
487 486
488 #endif 487 #endif
489 488
490 ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, 489 ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, err,
491 "waitpid() failed (%d: %s)", 490 "waitpid() failed");
492 err, ngx_sigsafe_strerror(err));
493 return; 491 return;
494 } 492 }
495 493
496 494
497 if (ngx_accept_mutex_ptr) { 495 if (ngx_accept_mutex_ptr) {