From 7ce162d7f81eea69e7795a959b8ccad0dc360483 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 1 Jul 2008 07:22:48 +0000 Subject: Changes with nginx 0.7.5 01 Jul 2008 *) 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. --- src/http/ngx_http_request.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/http/ngx_http_request.c') diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index d707e33be..8dc562f28 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -2623,6 +2623,8 @@ ngx_http_request_done(ngx_http_request_t *r, ngx_int_t error) r->headers_out.status = error; } + log->action = "logging request"; + cmcf = ngx_http_get_module_main_conf(r, ngx_http_core_module); log_handler = cmcf->phases[NGX_HTTP_LOG_PHASE].handlers.elts; @@ -2631,6 +2633,8 @@ ngx_http_request_done(ngx_http_request_t *r, ngx_int_t error) log_handler[i](r); } + log->action = "closing request"; + if (r->connection->timedout) { clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); -- cgit v1.2.1