summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2015-09-21 11:32:29 +0200
committerStefan Eissing <icing@apache.org>2015-09-21 11:32:29 +0200
commitec4d7a4d34ffd30a303446f6a9c805777b5a7c9e (patch)
tree40066f1c0ef2a493eea22347369a29ddccff6ba5 /modules
parentFix a spurious test where a condition is always true: (diff)
downloadapache2-ec4d7a4d34ffd30a303446f6a9c805777b5a7c9e.tar.xz
apache2-ec4d7a4d34ffd30a303446f6a9c805777b5a7c9e.zip
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
Diffstat (limited to 'modules')
-rw-r--r--modules/http2/h2_conn_io.c13
1 files changed, 2 insertions, 11 deletions
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;