From a153ecd496ad46d4dec90e0b1c9eae804a8d6415 Mon Sep 17 00:00:00 2001 From: Nick Kew Date: Fri, 28 Sep 2007 19:30:37 +0000 Subject: [PATCH] Fix keepalive to proxy backend PR 43472 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@580466 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 3 +++ modules/proxy/proxy_util.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index ec25441ccc..0f425bf6b3 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.3.0 [ When backported to 2.2.x, remove entry from this file ] + *) proxy: Fix persistent backend connections + PR 43472 [Ruediger Pluem] + *) mod_proxy_http: Correctly parse all Connection headers in proxy. PR 43509 [Nick Kew] diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index 138173e8d0..0b1d1f300c 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -2078,7 +2078,7 @@ static int is_socket_connected(apr_socket_t *socket) else return 0; } - else if (APR_STATUS_IS_EAGAIN(status)) { + else if (APR_STATUS_IS_EAGAIN(status) || APR_STATUS_IS_TIMEUP(status)) { return 1; } return 0; -- 2.40.0