mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 15:47:01 +02:00
[MINOR] config: remove undocumented and buggy 'timeout appsession'
This one has never really worked and is not documented.
This commit is contained in:
parent
3b7a369baa
commit
76bfc95aa5
@ -175,10 +175,6 @@ static int proxy_parse_timeout(char **args, int section, struct proxy *proxy,
|
|||||||
tv = &proxy->timeout.check;
|
tv = &proxy->timeout.check;
|
||||||
td = &defpx->timeout.check;
|
td = &defpx->timeout.check;
|
||||||
cap = PR_CAP_BE;
|
cap = PR_CAP_BE;
|
||||||
} else if (!strcmp(args[0], "appsession")) {
|
|
||||||
tv = &proxy->timeout.appsession;
|
|
||||||
td = &defpx->timeout.appsession;
|
|
||||||
cap = PR_CAP_BE;
|
|
||||||
} else if (!strcmp(args[0], "queue")) {
|
} else if (!strcmp(args[0], "queue")) {
|
||||||
tv = &proxy->timeout.queue;
|
tv = &proxy->timeout.queue;
|
||||||
td = &defpx->timeout.queue;
|
td = &defpx->timeout.queue;
|
||||||
@ -186,7 +182,7 @@ static int proxy_parse_timeout(char **args, int section, struct proxy *proxy,
|
|||||||
} else {
|
} else {
|
||||||
snprintf(err, errlen,
|
snprintf(err, errlen,
|
||||||
"timeout '%s': must be 'client', 'server', 'connect', 'check', "
|
"timeout '%s': must be 'client', 'server', 'connect', 'check', "
|
||||||
"'appsession', 'queue', 'http-keep-alive', 'http-request' or 'tarpit'",
|
"'queue', 'http-keep-alive', 'http-request' or 'tarpit'",
|
||||||
args[0]);
|
args[0]);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user