]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r434483 from trunk:
authorJim Jagielski <jim@apache.org>
Mon, 28 Aug 2006 16:34:40 +0000 (16:34 +0000)
committerJim Jagielski <jim@apache.org>
Mon, 28 Aug 2006 16:34:40 +0000 (16:34 +0000)
* Close connection to backend if reading of request body fails.

PR: 40310
Submitted by: Ian Abel <ianabel mxtelecom.com>
Reviewed by: rpluem

Submitted by: rpluem
Reviewed by: jim

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

CHANGES
STATUS
modules/proxy/mod_proxy_ajp.c

diff --git a/CHANGES b/CHANGES
index 122e19fc517acb2685c27b842f31c2d670c9b5c9..8403fa60b834b9625e7024000416d9bdc3145fdd 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                         -*- coding: utf-8 -*-
 Changes with Apache 2.2.4
 
+  *) mod_proxy_ajp: Close connection to backend if reading of request body
+     fails. PR 40310. [Ian Abel <ianabel mxtelecom.com>]
+
   *) mod_proxy_balancer: Retry worker chosen by route / redirect worker if
      it is in error state before sending "Service Temporarily Unavailable".
      PR 38962. [Christian Boitel <cboitel lfdj.com>]
diff --git a/STATUS b/STATUS
index af34c6907e867c56e91999faf9d8eb67e06f7dc0..9424dffcec3ce2689b651e9560d29b33150b6760 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -86,15 +86,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
         http://people.apache.org/~wrowe/mod_isapi-416293-to-httpd-2.2.patch
       +1 wrowe , fielding, jerenkrantz
 
-    * mod_proxy_ajp: Close connection to backend if reading of request body
-      fails.
-        PR: 40310
-      Trunk version of patch:
-        http://svn.apache.org/viewvc?view=rev&revision=434483
-      2.2.x version of patch:
-        Trunk version works
-      +1 rpluem, sctemme, jim, mturk
-
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
 
     * mpm_winnt: Fix return values from wait_for_many_objects.
index 1a0d6e155e27847bd6691c67153869d4d95feea5..c0dfbfa84df9a8c1dd495c49639e7d66114e8c4c 100644 (file)
@@ -175,6 +175,8 @@ static int ap_proxy_ajp_request(apr_pool_t *p, request_rec *r,
                                 AJP13_MAX_SEND_BODY_SZ);
 
         if (status != APR_SUCCESS) {
+            /* We had a failure: Close connection to backend */
+            conn->close++;
             ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
                          "proxy: ap_get_brigade failed");
             apr_brigade_destroy(input_brigade);