comparison src/http/ngx_http_request.c @ 386:1172e6d6f40f NGINX_0_7_5

nginx 0.7.5 *) Bugfixes in variables support in the "access_log" directive; the bug had appeared in 0.7.4. *) Bugfix: nginx could not be built --without-http_gzip_module; the bug had appeared in 0.7.3. Thanks to Kirill A. Korinskiy. *) Bugfix: if sub_filter and SSI were used together, then responses might were transferred incorrectly.
author Igor Sysoev <http://sysoev.ru>
date Tue, 01 Jul 2008 00:00:00 +0400
parents 12defd37f578
children 0b6053502c55
comparison
equal deleted inserted replaced
385:08118f73d9f2 386:1172e6d6f40f
2621 2621
2622 if (error && r->headers_out.status == 0) { 2622 if (error && r->headers_out.status == 0) {
2623 r->headers_out.status = error; 2623 r->headers_out.status = error;
2624 } 2624 }
2625 2625
2626 log->action = "logging request";
2627
2626 cmcf = ngx_http_get_module_main_conf(r, ngx_http_core_module); 2628 cmcf = ngx_http_get_module_main_conf(r, ngx_http_core_module);
2627 2629
2628 log_handler = cmcf->phases[NGX_HTTP_LOG_PHASE].handlers.elts; 2630 log_handler = cmcf->phases[NGX_HTTP_LOG_PHASE].handlers.elts;
2629 n = cmcf->phases[NGX_HTTP_LOG_PHASE].handlers.nelts; 2631 n = cmcf->phases[NGX_HTTP_LOG_PHASE].handlers.nelts;
2630 for (i = 0; i < n; i++) { 2632 for (i = 0; i < n; i++) {
2631 log_handler[i](r); 2633 log_handler[i](r);
2632 } 2634 }
2635
2636 log->action = "closing request";
2633 2637
2634 if (r->connection->timedout) { 2638 if (r->connection->timedout) {
2635 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); 2639 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
2636 2640
2637 if (clcf->reset_timedout_connection) { 2641 if (clcf->reset_timedout_connection) {