mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
Add failontimeout to allow server admin to mark balancer member in err if IO timeout occurs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1465839 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -383,6 +383,14 @@ static const char *set_balancer_param(proxy_server_conf *conf,
|
||||
}
|
||||
|
||||
}
|
||||
else if (!strcasecmp(key, "failontimeout")) {
|
||||
if (!strcasecmp(val, "on"))
|
||||
balancer->failontimeout = 1;
|
||||
else if (!strcasecmp(val, "off"))
|
||||
balancer->failontimeout = 0;
|
||||
else
|
||||
return "failontimeout must be On|Off";
|
||||
}
|
||||
else if (!strcasecmp(key, "nonce")) {
|
||||
if (!strcasecmp(val, "None")) {
|
||||
*balancer->s->nonce = '\0';
|
||||
|
Reference in New Issue
Block a user