SSI: prevent fallback from emitting twice

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

View file

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