Skip to content

Commit 9453b74

Browse files
authored
sync with httpd trunk (#314)
1 parent b282ffb commit 9453b74

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

mod_http2/h2_c2.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,13 @@ static apr_status_t h2_c2_filter_out(ap_filter_t* f, apr_bucket_brigade* bb)
370370
h2_conn_ctx_t *conn_ctx = h2_conn_ctx_get(f->c);
371371
apr_status_t rv;
372372

373+
if (bb == NULL) {
374+
#if !AP_MODULE_MAGIC_AT_LEAST(20180720, 1)
375+
f->c->data_in_output_filters = 0;
376+
#endif
377+
return APR_SUCCESS;
378+
}
379+
373380
if (bb == NULL) {
374381
#if !AP_MODULE_MAGIC_AT_LEAST(20180720, 1)
375382
f->c->data_in_output_filters = 0;

0 commit comments

Comments
 (0)