comparison src/event/modules/ngx_rtsig_module.c @ 579:be4f34123024 NGINX_0_8_35

nginx 0.8.35 *) Change: now the charset filter runs before the SSI filter. *) Feature: the "chunked_transfer_encoding" directive. *) Bugfix: an "&" character was not escaped when it was copied in arguments part in a rewrite rule. *) Bugfix: nginx might be terminated abnormally while a signal processing or if the directive "timer_resolution" was used on platforms which do not support kqueue or eventport notification methods. Thanks to George Xie and Maxim Dounin. *) Bugfix: if temporary files and permanent storage area resided at different file systems, then permanent file modification times were incorrect. Thanks to Maxim Dounin. *) Bugfix: ngx_http_memcached_module might issue the error message "memcached sent invalid trailer". Thanks to Maxim Dounin. *) Bugfix: nginx could not built zlib-1.2.4 library using the library sources. Thanks to Maxim Dounin. *) Bugfix: a segmentation fault occurred in a worker process, if there was large stderr output before FastCGI response; the bug had appeared in 0.8.34. Thanks to Maxim Dounin.
author Igor Sysoev <http://sysoev.ru>
date Mon, 29 Mar 2010 00:00:00 +0400
parents f39b9e29530d
children
comparison
equal deleted inserted replaced
577:dd7104f21940 579:be4f34123024
321 321
322 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, err, 322 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, err,
323 "rtsig signo:%d", signo); 323 "rtsig signo:%d", signo);
324 324
325 if (flags & NGX_UPDATE_TIME) { 325 if (flags & NGX_UPDATE_TIME) {
326 ngx_time_update(0, 0); 326 ngx_time_update();
327 } 327 }
328 328
329 if (err == NGX_EAGAIN) { 329 if (err == NGX_EAGAIN) {
330 330
331 /* timeout */ 331 /* timeout */
347 ngx_log_debug3(NGX_LOG_DEBUG_EVENT, cycle->log, 0, 347 ngx_log_debug3(NGX_LOG_DEBUG_EVENT, cycle->log, 0,
348 "rtsig signo:%d fd:%d band:%04Xd", 348 "rtsig signo:%d fd:%d band:%04Xd",
349 signo, si.si_fd, si.si_band); 349 signo, si.si_fd, si.si_band);
350 350
351 if (flags & NGX_UPDATE_TIME) { 351 if (flags & NGX_UPDATE_TIME) {
352 ngx_time_update(0, 0); 352 ngx_time_update();
353 } 353 }
354 354
355 rtscf = ngx_event_get_conf(ngx_cycle->conf_ctx, ngx_rtsig_module); 355 rtscf = ngx_event_get_conf(ngx_cycle->conf_ctx, ngx_rtsig_module);
356 356
357 if (signo == (int) rtscf->signo || signo == (int) rtscf->signo + 1) { 357 if (signo == (int) rtscf->signo || signo == (int) rtscf->signo + 1) {
417 417
418 return NGX_OK; 418 return NGX_OK;
419 419
420 } else if (signo == SIGALRM) { 420 } else if (signo == SIGALRM) {
421 421
422 ngx_time_update(0, 0); 422 ngx_time_update();
423 423
424 return NGX_OK; 424 return NGX_OK;
425 425
426 } else if (signo == SIGIO) { 426 } else if (signo == SIGIO) {
427 427
669 tested = 0; 669 tested = 0;
670 } 670 }
671 } 671 }
672 672
673 if (flags & NGX_UPDATE_TIME) { 673 if (flags & NGX_UPDATE_TIME) {
674 ngx_time_update(0, 0); 674 ngx_time_update();
675 } 675 }
676 676
677 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, 677 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0,
678 "rt signal queue overflow recovered"); 678 "rt signal queue overflow recovered");
679 679