mirror of
https://github.com/nginx/nginx.git
synced 2026-08-29 05:22:03 +00:00
SSI: prevent fallback from emitting twice
This commit is contained in:
parent
e8053c867f
commit
f42588d2f5
1 changed files with 1 additions and 0 deletions
|
|
@ -2697,6 +2697,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…
Add table
Add a link
Reference in a new issue