]> 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>
Sun, 3 Jan 2010 18:49:34 +0000 (19:49 +0100)
Those options were missing in the parser error message :
  set-cookie, clear-cookie, drop-query

src/cfgparse.c

index fdaa6062b94980f793a15d2712a8de6bb9893dba..938caf16824fbf46e81ed73ca0cea69323a79a84 100644 (file)
@@ -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;