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.4-dev5~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=963abc33a2ae002b2efb1bc228ccc8dcb1c72d91;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 --- diff --git a/src/cfgparse.c b/src/cfgparse.c index fdaa6062b9..938caf1682 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -1844,7 +1844,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm) 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;