summaryrefslogtreecommitdiffstats
path: root/modules/proxy/mod_proxy_hcheck.c
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2022-10-11 15:20:11 +0200
committerJim Jagielski <jim@apache.org>2022-10-11 15:20:11 +0200
commitac04f2ff6b6590a6091b71b8c829e9b067b0fbbb (patch)
tree95cb4fa8c0768c0be848d7a90199fc9f23288c02 /modules/proxy/mod_proxy_hcheck.c
parentRemove trailing whitespace (diff)
downloadapache2-ac04f2ff6b6590a6091b71b8c829e9b067b0fbbb.tar.xz
apache2-ac04f2ff6b6590a6091b71b8c829e9b067b0fbbb.zip
*) mod_proxy_hcheck: Re-enable workers in standard ERROR state. PR 66302.
[Alessandro Cavaliere <alessandro.cavalier7 unibo.it>] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1904518 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--modules/proxy/mod_proxy_hcheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/proxy/mod_proxy_hcheck.c b/modules/proxy/mod_proxy_hcheck.c
index dd2740e81c..b99f3c1ae3 100644
--- a/modules/proxy/mod_proxy_hcheck.c
+++ b/modules/proxy/mod_proxy_hcheck.c
@@ -927,7 +927,7 @@ static void * APR_THREAD_FUNC hc_check(apr_thread_t *thread, void *b)
(int)hc->s->method);
}
/* what state are we in ? */
- else if (PROXY_WORKER_IS_HCFAILED(worker)) {
+ else if (PROXY_WORKER_IS_HCFAILED(worker) || PROXY_WORKER_IS_ERROR(worker)) {
if (rv == APR_SUCCESS) {
worker->s->pcount += 1;
if (worker->s->pcount >= worker->s->passes) {