]> git.kaiwu.me - nginx.git/commitdiff
fix subrequest limit
authorIgor Sysoev <igor@sysoev.ru>
Thu, 2 Nov 2006 13:38:25 +0000 (13:38 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 2 Nov 2006 13:38:25 +0000 (13:38 +0000)
src/http/ngx_http_core_module.c

index adc751ee6a0b2049db067dc5bfc8023edc745643..2b4f56fa51c9feda928b204e414ebb3fb6db8954 100644 (file)
@@ -1417,6 +1417,8 @@ ngx_http_subrequest(ngx_http_request_t *r,
         ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0,
                        "http subrequest done \"%V?%V\"", uri, &sr->args);
 
+        r->main->subrequests++;
+
         *psr = sr;
 
         if (sr->fast_subrequest) {