]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: startup: Add HAVE_WORKING_TCP_MD5SIG in haproxy -vv
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 11 Feb 2026 14:34:43 +0000 (15:34 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 12 Feb 2026 17:02:19 +0000 (18:02 +0100)
commit1592ed9854b56cdf67c00774ebb180265d483c20
tree25ff9cb0e370ce3cbe2e9ff70d226649edd9797f
parentf9b3319f482384a9020443bc2179059124ff91e9
MINOR: startup: Add HAVE_WORKING_TCP_MD5SIG in haproxy -vv

the TCP_MD5SIG ifdef is not enough to check if the feature is usable.
The code might compile but the OS could prevent to use it.

This patch tries to use the TCP_MD5SIG setsockopt before adding
HAVE_WORKING_TCP_MD5SIG in the feature list.  so it would prevent to
start reg-tests if the OS can't run it.
reg-tests/connection/tcp_md5_signature.vtc
src/proto_tcp.c