diff options
author | Stefan Eissing <icing@apache.org> | 2023-06-16 10:18:19 +0200 |
---|---|---|
committer | Stefan Eissing <icing@apache.org> | 2023-06-16 10:18:19 +0200 |
commit | e132dba353486bf864d57993770bc5f5deb2348f (patch) | |
tree | 60b80a228ef440c8453878b7225f0260998321dd /modules/http2 | |
parent | update log tags, as usual (diff) | |
download | apache2-e132dba353486bf864d57993770bc5f5deb2348f.tar.xz apache2-e132dba353486bf864d57993770bc5f5deb2348f.zip |
* mod_htt2: fixed an inconsistency in main connection io state after the connection
write encountered an error. Related to PR 66649.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910441 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http2')
-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; } |