]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: correct typo in alert message about rspirep
authorBalvinder Singh Rawat <bal.rawat@gmail.com>
Sat, 14 Mar 2020 06:41:50 +0000 (12:11 +0530)
committerWilly Tarreau <w@1wt.eu>
Sat, 14 Mar 2020 09:14:41 +0000 (10:14 +0100)
This message comes when we run:
haproxy -c -V -f /etc/haproxy/haproxy.cfg
[ALERT] 072/233727 (30865) : parsing [/etc/haproxy/haproxy.cfg:34] : The 'rspirep' directive is not supported anymore sionce HAProxy 2.1. Use 'http-response replace-header' instead.
[ALERT] 072/233727 (30865) : Error(s) found in configuration file : /etc/haproxy/haproxy.cfg
[ALERT] 072/233727 (30865) : Fatal errors found in configuration.

src/cfgparse-listen.c

index 5079800915b27ad6f18d323eeb864bf25d6e6b7d..9bffee5d2aa1b04b801bf60a46a3611c09fc903d 100644 (file)
@@ -3867,7 +3867,7 @@ stats_error_parsing:
                goto out;
        }
        else if (!strcmp(args[0], "rspirep")) {  /* replace response header from a regex ignoring case */
-              ha_alert("parsing [%s:%d] : The '%s' directive is not supported anymore sionce HAProxy 2.1. "
+              ha_alert("parsing [%s:%d] : The '%s' directive is not supported anymore since HAProxy 2.1. "
                        "Use 'http-response replace-header' instead.\n", file, linenum, args[0]);
                err_code |= ERR_ALERT | ERR_FATAL;
                goto out;