From: Willy Tarreau Date: Thu, 28 Jan 2010 09:45:55 +0000 (+0100) Subject: [MINOR] config: indicate that timeout appsession should not be used X-Git-Tag: v1.3.23~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e032a767b04b7e1926562e55f815831c8e0337ba;p=thirdparty%2Fhaproxy.git [MINOR] config: indicate that timeout appsession should not be used --- diff --git a/src/proxy.c b/src/proxy.c index f996713e8a..59b203e834 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -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;