diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-06-30 15:32:57 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-06-30 15:32:57 +0000 |
commit | 504efffca833a0c4a66787d4440ead6254e49066 (patch) | |
tree | b71ef669e0c551d03f550024c779bf0ed424cd13 /src/http/ngx_http_request.c | |
parent | 4cb276ae216b0ae3d4d19fa16cf2f4bde51c0c0a (diff) | |
download | nginx-504efffca833a0c4a66787d4440ead6254e49066.tar.gz nginx-504efffca833a0c4a66787d4440ead6254e49066.zip |
fix error message
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); |