mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
fix subrequest limit
This commit is contained in:
parent
85300c3f14
commit
5fd6d349c8
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user