]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: tcpcheck: proxy_parse_*check*() must take a const for the defproxy
authorWilly Tarreau <w@1wt.eu>
Fri, 12 Feb 2021 11:09:38 +0000 (12:09 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 12 Feb 2021 15:23:46 +0000 (16:23 +0100)
commit54fa7e332a7490319dd954423eb36b456a7c7921
tree671a62f59a4c1c17011d4a4c917b7214b2d9efd5
parent220fd7069469de5892c6ba3e1f178150b51c52bc
BUG/MINOR: tcpcheck: proxy_parse_*check*() 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/tcpcheck.h
src/tcpcheck.c