diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2006-11-02 13:48:28 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2006-11-02 13:48:28 +0000 |
| commit | 5fd6d349c89ed79d31b7dac4e70962a596c21aa8 (patch) | |
| tree | 56a02b965c8775e4fa29134f22d121a3bea386d4 /src | |
| parent | 85300c3f1464ca3de052f0c369bfafa0833d8134 (diff) | |
| download | nginx-5fd6d349c89ed79d31b7dac4e70962a596c21aa8.tar.gz nginx-5fd6d349c89ed79d31b7dac4e70962a596c21aa8.tar.bz2 | |
fix subrequest limit
Diffstat (limited to 'src')
| -rw-r--r-- | src/http/ngx_http_core_module.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |
