Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
apache2.31343
apache2-bsc1208708-fix-passing-health-check-rec...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apache2-bsc1208708-fix-passing-health-check-recover-worker-from-error-state.patch of Package apache2.31343
*) mod_proxy_hcheck: Re-enable workers in standard ERROR state. PR 66302. [Alessandro Cavaliere <alessandro.cavalier7 unibo.it>] --- modules/proxy/mod_proxy.h | 2 ++ modules/proxy/mod_proxy_hcheck.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) Index: httpd-2.4.33/modules/proxy/mod_proxy.h =================================================================== --- httpd-2.4.33.orig/modules/proxy/mod_proxy.h +++ httpd-2.4.33/modules/proxy/mod_proxy.h @@ -339,6 +339,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 */ Index: httpd-2.4.33/modules/proxy/mod_proxy_hcheck.c =================================================================== --- httpd-2.4.33.orig/modules/proxy/mod_proxy_hcheck.c +++ httpd-2.4.33/modules/proxy/mod_proxy_hcheck.c @@ -835,7 +835,7 @@ static void * APR_THREAD_FUNC hc_check(a return NULL; } /* what state are we in ? */ - 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) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor