From 5d1dcce2c53188e1187db722bc0f6ea12789fe5a Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 29 Sep 2008 07:12:04 +0000 Subject: update log_subrequest --- 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 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); } -- cgit