]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Avoid useless functions calls.
authorYann Ylavic <ylavic@apache.org>
Thu, 27 Feb 2014 13:39:25 +0000 (13:39 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 27 Feb 2014 13:39:25 +0000 (13:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1572561 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_http.c
modules/proxy/proxy_util.c

index cb81ddd0af765e6540fa9458625a7f90033e031f..9f7a6b40266d70a6c651499d2741b0dd9988dd5f 100644 (file)
@@ -1744,7 +1744,6 @@ int ap_proxy_http_process_response(apr_pool_t * p, request_rec *r,
 #endif
                     /* sanity check */
                     if (APR_BRIGADE_EMPTY(bb)) {
-                        apr_brigade_cleanup(bb);
                         break;
                     }
 
index 73826691dd72521d69b3b4ff33fe7445610ee152..0cd27c8ea09a34b79805e283c30a3f758146983e 100644 (file)
@@ -2284,6 +2284,7 @@ ap_proxy_determine_connection(apr_pool_t *p, request_rec *r,
                                             conn->pool);
             }
             socket_cleanup(conn);
+            conn->close = 0;
         }
         if (will_reuse) {
             /*