]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[MINOR] config: some options were missing for "redirect"
authorWilly Tarreau <w@1wt.eu>
Sun, 3 Jan 2010 18:47:39 +0000 (19:47 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 28 Jan 2010 22:16:36 +0000 (23:16 +0100)
Those options were missing in the parser error message :
  set-cookie, clear-cookie, drop-query
(cherry picked from commit 963abc33a2ae002b2efb1bc228ccc8dcb1c72d91)

src/cfgparse.c

index dfed794d9aff3b9115ab890e6774628598c6cf26..3b99bfb13b3d2d970ece740ec1c16cdf189ac70f 100644 (file)
@@ -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;