[PATCH 1/2] 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)
committerVincent Bernat <bernat@debian.org>
Wed, 11 Nov 2020 15:21:12 +0000 (15:21 +0000)
commit3ba8e2d612d0b15c0edd567bf892d6a1de5398d1
treea412c116467780b40cd3a1d6295fa00ae9e5532e
parent36b2edd71c1df1dd272287330cd45419c54bec80
[PATCH 1/2] 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.

(cherry picked from commit a66adf41ea28a0fa29437d1675f225b5cc589b59)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 3a10710b777370ef36763b8b6658ae63ef5c4ec4)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
Gbp-Pq: Name 0001-MINOR-http-htx-Add-understandable-errors-for-the-err.patch
include/haproxy/http_htx.h
src/http_htx.c