SSI: prevent fallback from emitting twice

This commit is contained in:
Aaron Jensen 2025-01-06 23:46:19 -08:00
parent e3a9b6ad08
commit 9e1cd4388a
No known key found for this signature in database
GPG Key ID: C7481C94F4CA86A7

View File

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