mirror of
https://github.com/nginx/nginx.git
synced 2025-07-24 14:16:20 +08:00
SSI: prevent fallback from emitting twice
This commit is contained in:
parent
e3a9b6ad08
commit
9e1cd4388a
@ -2526,6 +2526,7 @@ ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc)
|
||||
|
||||
if (r != r->main && r->post_subrequest) {
|
||||
rc = r->post_subrequest->handler(r, r->post_subrequest->data, rc);
|
||||
r->post_subrequest = NULL;
|
||||
}
|
||||
|
||||
if (rc == NGX_ERROR
|
||||
|
Loading…
Reference in New Issue
Block a user