--- a/mod_http2/h2_c2.c 2024/06/24 17:34:59 1918556 +++ b/mod_http2/h2_c2.c 2024/06/24 17:51:42 1918557 @@ -370,6 +370,13 @@ h2_conn_ctx_t *conn_ctx = h2_conn_ctx_get(f->c); apr_status_t rv; + if (bb == NULL) { +#if !AP_MODULE_MAGIC_AT_LEAST(20180720, 1) + f->c->data_in_output_filters = 0; +#endif + return APR_SUCCESS; + } + ap_assert(conn_ctx); #if AP_HAS_RESPONSE_BUCKETS if (!conn_ctx->has_final_response) {