]> granicus.if.org Git - apache/commitdiff
mod_http2: prohibit unnecessary flushing on master conn
authorStefan Eissing <icing@apache.org>
Fri, 18 Mar 2016 15:08:51 +0000 (15:08 +0000)
committerStefan Eissing <icing@apache.org>
Fri, 18 Mar 2016 15:08:51 +0000 (15:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1735611 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;
     }