]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[MINOR] config: indicate that timeout appsession should not be used
authorWilly Tarreau <w@1wt.eu>
Thu, 28 Jan 2010 09:45:55 +0000 (10:45 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 28 Jan 2010 22:16:37 +0000 (23:16 +0100)
src/proxy.c

index f996713e8a2188ae7d7f11d2fba2af5b6ce51467..59b203e8343f47412ed8c8df365a690ccd916ca0 100644 (file)
@@ -128,6 +128,8 @@ static int proxy_parse_timeout(char **args, int section, struct proxy *proxy,
                td = &defpx->timeout.check;
                cap = PR_CAP_BE;
        } else if (!strcmp(args[0], "appsession")) {
+               snprintf(err, errlen, "undocumented 'timeout appsession' may not do what you think and will be removed in next version");
+               retval = 1;
                tv = &proxy->timeout.appsession;
                td = &defpx->timeout.appsession;
                cap = PR_CAP_BE;