fix subrequest limit

This commit is contained in:
Igor Sysoev 2006-11-02 13:48:28 +00:00
parent 85300c3f14
commit 5fd6d349c8

View File

@ -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;
}