]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[MINOR] config: remove undocumented and buggy 'timeout appsession'
authorWilly Tarreau <w@1wt.eu>
Sun, 10 Jan 2010 16:48:11 +0000 (17:48 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 10 Jan 2010 16:48:11 +0000 (17:48 +0100)
This one has never really worked and is not documented.

src/proxy.c

index 5c5251f0b360949f7f2375bccb89731aaaeb2142..41bf1cf66809c7780316f378920bb8edb2611dfc 100644 (file)
@@ -175,10 +175,6 @@ static int proxy_parse_timeout(char **args, int section, struct proxy *proxy,
                tv = &proxy->timeout.check;
                td = &defpx->timeout.check;
                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")) {
                tv = &proxy->timeout.queue;
                td = &defpx->timeout.queue;
@@ -186,7 +182,7 @@ static int proxy_parse_timeout(char **args, int section, struct proxy *proxy,
        } else {
                snprintf(err, errlen,
                         "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]);
                return -1;
        }