# HG changeset patch # User Igor Sysoev # Date 1162474705 0 # Node ID 3611dca3c53a38b92255aeb712854e0b86d6a500 # Parent 2ac233efc05268a7ed6e1bf7373f71137b8f4004 fix subrequest limit diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c --- 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 * 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) {