Mercurial > hg > nginx
comparison src/event/ngx_event.c @ 641:5e8fb59c18c1 release-0.3.42
nginx-0.3.42-RELEASE import
*) Feature: the "bind" option of the "listen" directive in IMAP/POP3
proxy.
*) Bugfix: if the same capture in the "rewrite" directive was used more
then once.
*) Bugfix: the $sent_http_content_type, $sent_http_content_length,
$sent_http_last_modified, $sent_http_connection,
$sent_http_keep_alive, and $sent_http_transfer_encoding variables
were not written to access log.
*) Bugfix: the $sent_http_cache_control returned value of the single
"Cache-Control" response header line.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 26 Apr 2006 09:52:47 +0000 |
parents | 3f8a2132b93d |
children | 6d5c1535bb9d |
comparison
equal
deleted
inserted
replaced
640:5fd31c2fe4a8 | 641:5e8fb59c18c1 |
---|---|
430 return NGX_ERROR; | 430 return NGX_ERROR; |
431 } | 431 } |
432 | 432 |
433 ecf = (*cf)[ngx_event_core_module.ctx_index]; | 433 ecf = (*cf)[ngx_event_core_module.ctx_index]; |
434 | 434 |
435 ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, | 435 if (!ngx_test_config) { |
436 "using the \"%s\" event method", ecf->name); | 436 ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, |
437 "using the \"%s\" event method", ecf->name); | |
438 } | |
437 | 439 |
438 ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module); | 440 ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module); |
439 | 441 |
440 ngx_timer_resolution = ccf->timer_resolution; | 442 ngx_timer_resolution = ccf->timer_resolution; |
441 | 443 |
736 c->log = &ls[i].log; | 738 c->log = &ls[i].log; |
737 | 739 |
738 c->listening = &ls[i]; | 740 c->listening = &ls[i]; |
739 ls[i].connection = c; | 741 ls[i].connection = c; |
740 | 742 |
741 c->ctx = ls[i].ctx; | |
742 c->servers = ls[i].servers; | |
743 | |
744 rev = c->read; | 743 rev = c->read; |
745 | 744 |
746 rev->log = c->log; | 745 rev->log = c->log; |
747 rev->accept = 1; | 746 rev->accept = 1; |
748 | 747 |