mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Add in hot-standby balancer member. If all other members
are disabled or not-usable, ONLY THEN will the hot standby's be used. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420986 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -213,8 +213,14 @@ static const char *set_worker_param(apr_pool_t *p,
|
||||
else
|
||||
worker->status &= ~PROXY_WORKER_IN_ERROR;
|
||||
}
|
||||
else if (*v == 'H' || *v == 'h') {
|
||||
if (mode)
|
||||
worker->status |= PROXY_WORKER_HOT_STANDBY;
|
||||
else
|
||||
worker->status &= ~PROXY_WORKER_HOT_STANDBY;
|
||||
}
|
||||
else {
|
||||
return "Unknow status parameter option";
|
||||
return "Unknown status parameter option";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user