diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-07-01 07:22:48 +0000 |
---|---|---|
committer | Jonathan Kolb <jon@b0g.us> | 2008-07-01 07:22:48 +0000 |
commit | 7ce162d7f81eea69e7795a959b8ccad0dc360483 (patch) | |
tree | ffa0cffebd90143be6a8528a82e7840ae3d80066 /src/http/ngx_http_request.c | |
parent | c7d870cc248c868cdd9c4c2ba00f104d458869b2 (diff) | |
download | nginx-0.7.5.tar.gz |
Changes with nginx 0.7.5 01 Jul 2008v0.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.
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r-- | src/http/ngx_http_request.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |