You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2023/06/16 08:18:20 UTC
svn commit: r1910441 - /httpd/httpd/trunk/modules/http2/h2_c1_io.c
Author: icing
Date: Fri Jun 16 08:18:19 2023
New Revision: 1910441
URL: http://svn.apache.org/viewvc?rev=1910441&view=rev
Log:
* mod_htt2: fixed an inconsistency in main connection io state after the connection
write encountered an error. Related to PR 66649.
Modified:
httpd/httpd/trunk/modules/http2/h2_c1_io.c
Modified: httpd/httpd/trunk/modules/http2/h2_c1_io.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/h2_c1_io.c?rev=1910441&r1=1910440&r2=1910441&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http2/h2_c1_io.c (original)
+++ httpd/httpd/trunk/modules/http2/h2_c1_io.c Fri Jun 16 08:18:19 2023
@@ -294,8 +294,6 @@ static apr_status_t pass_output(h2_c1_io
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;
}