]> granicus.if.org Git - apache/commitdiff
mod_proxy_hcheck: Don't validate timed out responses.
authorYann Ylavic <ylavic@apache.org>
Fri, 20 Jan 2017 08:30:00 +0000 (08:30 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 20 Jan 2017 08:30:00 +0000 (08:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1779574 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/proxy/mod_proxy_hcheck.c

diff --git a/CHANGES b/CHANGES
index 8ca9ffd0c1be834ca6995844ec044e2fbf9e76be..dd87ce9998f3b5da287e8fa28120e5a5b2267031 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.5.0
 
+  *) mod_proxy_hcheck: Don't validate timed out responses.  [Yann Ylavic]
+
   *) mod_proxy_hcheck: Ensure thread-safety when concurrent healthchecks are
      in use (ProxyHCTPsize > 0).  PR 60071.  [Yann Ylavic, Jim Jagielski]
 
index 344b0a3b31bc4e0fde7722bf94d4e2adc7523cce..1c6469ad9d23893a2ab16275682fac28a6367e50 100644 (file)
@@ -692,7 +692,7 @@ static int hc_read_body(request_rec *r, apr_bucket_brigade *bb)
                             APR_BLOCK_READ, len);
 
         if (rv != APR_SUCCESS) {
-            if (APR_STATUS_IS_TIMEUP(rv) || APR_STATUS_IS_EOF(rv)) {
+            if (APR_STATUS_IS_EOF(rv)) {
                 rv = APR_SUCCESS;
                 break;
             }