mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
STOPPED workers are never retried... Disabled can be.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1728304 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1 +1 @@
|
||||
3305
|
||||
3306
|
||||
|
@@ -1946,6 +1946,12 @@ static int ap_proxy_retry_worker(const char *proxy_function, proxy_worker *worke
|
||||
server_rec *s)
|
||||
{
|
||||
if (worker->s->status & PROXY_WORKER_IN_ERROR) {
|
||||
if (PROXY_WORKER_IS(worker, PROXY_WORKER_STOPPED)) {
|
||||
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(3305)
|
||||
"%s: Won't retry worker (%s): stopped",
|
||||
proxy_function, worker->s->hostname);
|
||||
return DECLINED;
|
||||
}
|
||||
if ((worker->s->status & PROXY_WORKER_IGNORE_ERRORS)
|
||||
|| apr_time_now() > worker->s->error_time + worker->s->retry) {
|
||||
++worker->s->retries;
|
||||
|
Reference in New Issue
Block a user