Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-09-29 11:12:04 +0400
committerIgor Sysoev <igor@sysoev.ru>2008-09-29 11:12:04 +0400
commit5d1dcce2c53188e1187db722bc0f6ea12789fe5a (patch)
tree664e20987dda627d568337868814de7770cf6278 /src
parent4ca2acfce02d76260e8c7c3c7d9d6a7d9a0a3d88 (diff)
update log_subrequest
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_request.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 2b6002617..2be20aa0d 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -1823,6 +1823,10 @@ ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc)
"http wake parent request: \"%V?%V\"",
&pr->uri, &pr->args);
+ if (clcf->log_subrequest) {
+ ngx_http_log_request(r);
+ }
+
pr->write_event_handler(pr);
}