MINOR: config: Alert about extra arguments for errorfile and errorloc
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 3 Jan 2025 09:10:08 +0000 (10:10 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 9 Jan 2025 09:28:04 +0000 (10:28 +0100)
commitf2be2adb6c03bb2589e56b6b3f257fab5c1ac064
tree4eba9a5729e8f5fd4a31f489950f163ec2b17f93
parent369d75771f0a07421d1eb75c89c50fb6ece8afd0
MINOR: config: Alert about extra arguments for errorfile and errorloc

errorfile and errorloc directives expect excatly two arguments. But extra
arguments were just ignored while an error should be emitted. It is now
fixed.

This patch could be backported as far as 2.2 if necessary.

(cherry picked from commit f578811c4e8965f243cd16a6f569909a2a07498c)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 03d6c648dfc3ab364149aa747c1574c847526193)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/http_htx.c