summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-11-02 13:38:25 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-11-02 13:38:25 +0000
commit85300c3f1464ca3de052f0c369bfafa0833d8134 (patch)
tree187cec171c0c35a28799a8280df021bb395164df
parentcf5836e85040c8f14c58637b56abbf14cd8e21ac (diff)
downloadnginx-85300c3f1464ca3de052f0c369bfafa0833d8134.tar.gz
nginx-85300c3f1464ca3de052f0c369bfafa0833d8134.tar.bz2
fix subrequest limit
-rw-r--r--src/http/ngx_http_core_module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index adc751ee6..2b4f56fa5 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -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) {