commit | 5fd6d349c89ed79d31b7dac4e70962a596c21aa8 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Thu Nov 02 13:48:28 2006 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Thu Nov 02 13:48:28 2006 +0000 |
tree | 56a02b965c8775e4fa29134f22d121a3bea386d4 | |
parent | 85300c3f1464ca3de052f0c369bfafa0833d8134 [diff] |
fix subrequest limit
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 2b4f56f..ff93348 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c
@@ -1298,6 +1298,7 @@ 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; }