httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yla...@apache.org
Subject svn commit: r1572561 - in /httpd/httpd/trunk/modules/proxy: mod_proxy_http.c proxy_util.c
Date Thu, 27 Feb 2014 13:39:25 GMT
Author: ylavic
Date: Thu Feb 27 13:39:25 2014
New Revision: 1572561

URL: http://svn.apache.org/r1572561
Log:
Avoid seless functions calls.

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_http.c
    httpd/httpd/trunk/modules/proxy/proxy_util.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_http.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_http.c?rev=1572561&r1=1572560&r2=1572561&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_http.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_http.c Thu Feb 27 13:39:25 2014
@@ -1744,7 +1744,6 @@ int ap_proxy_http_process_response(apr_p
 #endif
                     /* sanity check */
                     if (APR_BRIGADE_EMPTY(bb)) {
-                        apr_brigade_cleanup(bb);
                         break;
                     }
 

Modified: httpd/httpd/trunk/modules/proxy/proxy_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/proxy_util.c?rev=1572561&r1=1572560&r2=1572561&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/proxy_util.c (original)
+++ httpd/httpd/trunk/modules/proxy/proxy_util.c Thu Feb 27 13:39:25 2014
@@ -2284,6 +2284,7 @@ ap_proxy_determine_connection(apr_pool_t
                                             conn->pool);
             }
             socket_cleanup(conn);
+            conn->close = 0;
         }
         if (will_reuse) {
             /*



Mime
View raw message