]> git.ipfire.org Git - thirdparty/haproxy.git/commit
OPTIM: tcpcheck: Don't set SNI and ALPN for non-ssl connections
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 3 Sep 2025 14:48:11 +0000 (16:48 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 Sep 2025 13:56:42 +0000 (15:56 +0200)
commiteb3d4eb59f6d33897bb160a3b8638479042c3512
tree5fa9071873ad4e302881e27c9371315264a1745c
parentef07d3511a00e162575d335ed0b6cae6df50842c
OPTIM: tcpcheck: Don't set SNI and ALPN for non-ssl connections

There is no reason to set the SNI and ALPN for non-ssl connections. It is
not really an issue because ssl_sock_set_servername() and
ssl_sock_set_alpn() functions will do nothing. But it is cleaner this way
and this could avoid bugs in future.

No backport needed, because there is no bug.
src/tcpcheck.c