]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: extcheck: proxy_parse_extcheck() must take a const for the defproxy
authorWilly Tarreau <w@1wt.eu>
Fri, 12 Feb 2021 11:07:38 +0000 (12:07 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 12 Feb 2021 15:23:46 +0000 (16:23 +0100)
commit220fd7069469de5892c6ba3e1f178150b51c52bc
treea925766fc6106f9379e69ebc0b0a502074aeb0b5
parent818ec78af8814174b4b055856133c57330917a7a
BUG/MINOR: extcheck: proxy_parse_extcheck() must take a const for the defproxy

The default proxy was passed as a variable, which in addition to being
a PITA to deal with in the config parser, doesn't feel safe to use when
it ought to be const.

This will only affect new code so no backport is needed.
include/haproxy/extcheck.h
src/extcheck.c