diff options
-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 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); } |