]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http-htx: Add understandable errors for the errorfiles parsing
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 5 Nov 2020 21:43:41 +0000 (22:43 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Nov 2020 08:13:58 +0000 (09:13 +0100)
commita66adf41ea28a0fa29437d1675f225b5cc589b59
tree7c3c43507f9714dbc21887342f9969d34c3f68ae
parent6d27a92b83f75bab42bda08ed28b70fb95525fd9
MINOR: http-htx: Add understandable errors for the errorfiles parsing

No details are provided when an error occurs during the parsing of an errorfile,
Thus it is a bit hard to diagnose where the problem is. Now, when it happens, an
understandable error message is reported.

This patch is not a bug fix in itself. But it will be required to change an
fatal error into a warning in last stable releases. Thus it must be backported
as far as 2.0.
include/haproxy/http_htx.h
src/http_htx.c