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>
Mon, 6 Jan 2025 10:32:51 +0000 (11:32 +0100)
commit03d6c648dfc3ab364149aa747c1574c847526193
treeccf28f3492035a3e1f9357c3244fbf3a9d38a853
parent18a5c64396b8fbc0d902e7ee52bf4de3984696bc
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>
src/http_htx.c