From: Igor Sysoev Date: Thu, 2 Nov 2006 13:48:28 +0000 (+0000) Subject: fix subrequest limit X-Git-Tag: release-0.4.13~9 X-Git-Url: http://git.kaiwu.me/%7B@url%7D?a=commitdiff_plain;h=5fd6d349c89ed79d31b7dac4e70962a596c21aa8;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 2b4f56fa5..ff933481f 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -1298,6 +1298,7 @@ ngx_http_subrequest(ngx_http_request_t *r, if (r->main->subrequests == 0) { ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, "subrequests cycle while processing \"%V\"", uri); + r->main->subrequests = 1; return NGX_ERROR; }