From: Willy Tarreau Date: Sun, 3 Jan 2010 18:47:39 +0000 (+0100) Subject: [MINOR] config: some options were missing for "redirect" X-Git-Tag: v1.3.23~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ceb33a0e6840e63c949e77a93b753227b83360a3;p=thirdparty%2Fhaproxy.git [MINOR] config: some options were missing for "redirect" Those options were missing in the parser error message : set-cookie, clear-cookie, drop-query (cherry picked from commit 963abc33a2ae002b2efb1bc228ccc8dcb1c72d91) --- diff --git a/src/cfgparse.c b/src/cfgparse.c index dfed794d9a..3b99bfb13b 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -1607,7 +1607,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int inv) break; } else { - Alert("parsing [%s:%d] : '%s' expects 'code', 'prefix' or 'location' (was '%s').\n", + Alert("parsing [%s:%d] : '%s' expects 'code', 'prefix', 'location', 'set-cookie', 'clear-cookie' or 'drop-query' (was '%s').\n", file, linenum, args[0], args[cur_arg]); err_code |= ERR_ALERT | ERR_FATAL; goto out;