]> granicus.if.org Git - apache/commitdiff
removed wrong error supression in h2 connection writes
authorStefan Eissing <icing@apache.org>
Mon, 21 Sep 2015 09:32:29 +0000 (09:32 +0000)
committerStefan Eissing <icing@apache.org>
Mon, 21 Sep 2015 09:32:29 +0000 (09:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1704241 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_conn_io.c

index 129456ebc3a8fbdd9e14a8b99bb0228dc168db78..08d00a4f3a6924e903d853e4d54f111a918ac5e1 100644 (file)
@@ -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;