]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: tcpcheck: report correct error in tcp-check rule parser
authorWilly Tarreau <w@1wt.eu>
Fri, 31 May 2024 16:37:56 +0000 (18:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 31 May 2024 16:37:56 +0000 (18:37 +0200)
commit8a7afb6964b6f57c8d0481e2e391b7ec88552b26
tree3899457beaf192f8c27e37bdcfef11c3f034a863
parentd8194fab8205364d65cf5364e6daeca517eb75e0
BUG/MINOR: tcpcheck: report correct error in tcp-check rule parser

When parsing tcp-check expect-header, a copy-paste error in the error
message causes the name of the header to be reporetd as the invalid
format string instead of its value. This is really harmless but should
be backported to all versions to help users understand the cause of the
problem when this happens. This was reported in GH issue #2586 by
@Bbulatov.
src/tcpcheck.c