From: Stefan Eissing Date: Mon, 21 Sep 2015 09:32:29 +0000 (+0000) Subject: removed wrong error supression in h2 connection writes X-Git-Tag: 2.5.0-alpha~2821 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec4d7a4d34ffd30a303446f6a9c805777b5a7c9e;p=apache removed wrong error supression in h2 connection writes git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1704241 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http2/h2_conn_io.c b/modules/http2/h2_conn_io.c index 129456ebc3..08d00a4f3a 100644 --- a/modules/http2/h2_conn_io.c +++ b/modules/http2/h2_conn_io.c @@ -267,14 +267,7 @@ apr_status_t h2_conn_io_write(h2_conn_io *io, } else { status = apr_brigade_write(io->output, flush_out, io, buf, length); - if (status == APR_SUCCESS - || APR_STATUS_IS_ECONNABORTED(status) - || APR_STATUS_IS_EPIPE(status)) { - /* These are all fine and no reason for concern. Everything else - * is interesting. */ - status = APR_SUCCESS; - } - else { + if (status != APR_SUCCESS) { ap_log_cerror(APLOG_MARK, APLOG_DEBUG, status, io->connection, "h2_conn_io: write error"); } @@ -302,9 +295,7 @@ apr_status_t h2_conn_io_flush(h2_conn_io *io) /* Send it out through installed filters (TLS) to the client */ status = flush_out(io->output, io); - if (status == APR_SUCCESS - || APR_STATUS_IS_ECONNABORTED(status) - || APR_STATUS_IS_EPIPE(status)) { + if (status == APR_SUCCESS) { /* These are all fine and no reason for concern. Everything else * is interesting. */ io->unflushed = 0;