1
0
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:
Daniel Ruggeri
2013-04-09 00:18:42 +00:00
parent 086da9d005
commit d31632f33c
7 changed files with 29 additions and 1 deletions

View File

@@ -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';