Merge of r1735611 from trunk:
authorStefan Eissing <icing@apache.org>
Fri, 18 Mar 2016 15:41:12 +0000 (15:41 +0000)
committerStefan Eissing <icing@apache.org>
Fri, 18 Mar 2016 15:41:12 +0000 (15:41 +0000)
mod_http2: refrain from unnecessary flushes on master connection

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1735620 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_conn_io.c

index 2b7e7694101da9d247eed9997f2557aa5d802476..59561ecd61982667a354b87fcda00c93d49e3743 100644 (file)
@@ -265,7 +265,7 @@ static apr_status_t h2_conn_io_flush_int(h2_conn_io *io, int flush, int eoc)
     pass_out_ctx ctx;
     apr_bucket *b;
     
-    if (!flush && io->buflen == 0 && APR_BRIGADE_EMPTY(io->output)) {
+    if (io->buflen == 0 && APR_BRIGADE_EMPTY(io->output)) {
         return APR_SUCCESS;
     }