mirror of
https://github.com/apache/httpd.git
synced 2025-07-25 17:01:22 +00:00
*) 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
This commit is contained in:
3
CHANGES
3
CHANGES
@ -1,6 +1,9 @@
|
||||
-*- coding: utf-8 -*-
|
||||
Changes with Apache 2.5.1
|
||||
|
||||
*) mod_proxy_hcheck: Re-enable workers in standard ERROR state. PR 66302.
|
||||
[Alessandro Cavaliere <alessandro.cavalier7 unibo.it>]
|
||||
|
||||
*) mod_proxy_hcheck: Detect AJP/CPING support correctly. PR 66300.
|
||||
[Alessandro Cavaliere <alessandro.cavalier7 unibo.it>]
|
||||
|
||||
|
@ -360,6 +360,8 @@ PROXY_WORKER_HC_FAIL )
|
||||
|
||||
#define PROXY_WORKER_IS_HCFAILED(f) ( (f)->s->status & PROXY_WORKER_HC_FAIL )
|
||||
|
||||
#define PROXY_WORKER_IS_ERROR(f) ( (f)->s->status & PROXY_WORKER_IN_ERROR )
|
||||
|
||||
#define PROXY_WORKER_IS(f, b) ( (f)->s->status & (b) )
|
||||
|
||||
/* default worker retry timeout in seconds */
|
||||
|
@ -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) {
|
||||
|
Reference in New Issue
Block a user