]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: resolvers: report the expression error in the do-resolve() action parser
authorWilly Tarreau <w@1wt.eu>
Thu, 14 May 2026 22:43:17 +0000 (22:43 +0000)
committerWilly Tarreau <w@1wt.eu>
Fri, 15 May 2026 15:53:00 +0000 (17:53 +0200)
commitb15e9b1b291a1fa36ea3e76f47f491c9dd57f15e
tree6b1212ff25b4e8c0e2ba6297639dd62364aacf2f
parent0c8c9b1c2a968dad0c193edf6a26dcb0022c5813
BUG/MINOR: resolvers: report the expression error in the do-resolve() action parser

When an expression is used for do-resolve(), an error may be reported.
Unfortunately it was scratched and replaced by the do-resolve() error,
leaving no chance to know exactly what was wrong. Let's report the
contents of the error when available. It will indicate identifiers that
are not found or invalid ranges or types being used.

This can be backported to all versions.
src/resolvers.c