]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: tcpheck: the source list must be a const in dup_tcpcheck_var()
authorWilly Tarreau <w@1wt.eu>
Fri, 12 Feb 2021 07:42:30 +0000 (08:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 12 Feb 2021 15:23:46 +0000 (16:23 +0100)
commit09f2e77eb1adb6cd462744784aa9bd666219cf8b
treec2d7e5cd5c4314c50142052114029ce7942f160a
parent016255a483f28190ae5ba5652d6db7e16b5d222d
BUG/MINOR: tcpheck: the source list must be a const in dup_tcpcheck_var()

This is just an API bug but it's annoying when trying to tidy the code.
The source list passed in argument must be a const and not a variable,
as it's typically the list head from a default proxy and must obviously
not be modified by the function. No backport is needed as it only impacts
new code.
include/haproxy/tcpcheck.h
src/tcpcheck.c