]> git.kaiwu.me - nginx.git/commitdiff
update log_subrequest
authorIgor Sysoev <igor@sysoev.ru>
Mon, 29 Sep 2008 07:12:04 +0000 (07:12 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 29 Sep 2008 07:12:04 +0000 (07:12 +0000)
src/http/ngx_http_request.c

index 2b600261760cdc91a715ca426dab6f653db512c8..2be20aa0d8052ed43990292b27e72a1fae4d4c9a 100644 (file)
@@ -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);
             }