httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yla...@apache.org
Subject svn commit: r1808014 - /httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c
Date Mon, 11 Sep 2017 10:49:14 GMT
Author: ylavic
Date: Mon Sep 11 10:49:13 2017
New Revision: 1808014

URL: http://svn.apache.org/viewvc?rev=1808014&view=rev
Log:
mod_proxy_fcgi: follow up to r1807876.
Fix mixed declarations and code [-Wdeclaration-after-statement].


Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c?rev=1808014&r1=1808013&r2=1808014&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c Mon Sep 11 10:49:13 2017
@@ -893,7 +893,6 @@ recv_again:
                  ((conn->worker->s->flush_packets == flush_auto) && 
                   (apr_poll(flushpoll, 1, &flushpoll_fd,
                             conn->worker->s->flush_wait) == APR_TIMEUP))) &&
mayflush) {
-                mayflush = 0;
                 apr_bucket* flush_b = apr_bucket_flush_create(r->connection->bucket_alloc);
                 APR_BRIGADE_INSERT_TAIL(ob, flush_b);
                 rv = ap_pass_brigade(r->output_filters, ob);
@@ -901,6 +900,7 @@ recv_again:
                     *err = "passing headers brigade to output filters";
                     break;
                 }
+                mayflush = 0;
             }
         }
     }



Mime
View raw message