diff options
-rw-r--r-- | modules/http2/h2_c1_io.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/http2/h2_c1_io.c b/modules/http2/h2_c1_io.c index 5606d52bfa..c09e2deb40 100644 --- a/modules/http2/h2_c1_io.c +++ b/modules/http2/h2_c1_io.c @@ -294,8 +294,6 @@ static apr_status_t pass_output(h2_c1_io *io, int flush) rv = ap_pass_brigade(c->output_filters, io->output); if (APR_SUCCESS != rv) goto cleanup; - - io->buffered_len = 0; io->bytes_written += (apr_size_t)bblen; if (io->write_size < WRITE_SIZE_MAX @@ -323,6 +321,7 @@ cleanup: c->id, (long)bblen); } apr_brigade_cleanup(io->output); + io->buffered_len = 0; io->is_passing = 0; return rv; } |