From: Igor Sysoev Date: Thu, 2 Nov 2006 13:38:25 +0000 (+0000) Subject: fix subrequest limit X-Git-Tag: release-0.4.13~10 X-Git-Url: http://git.kaiwu.me/%7B@url%7D?a=commitdiff_plain;h=85300c3f1464ca3de052f0c369bfafa0833d8134;p=nginx.git fix subrequest limit --- 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) {