From 85300c3f1464ca3de052f0c369bfafa0833d8134 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 2 Nov 2006 13:38:25 +0000 Subject: fix subrequest limit --- src/http/ngx_http_core_module.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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) { -- cgit