]> git.ipfire.org Git - thirdparty/haproxy.git/commit
OPTIM: proto_rhttp: Don't set SNI for non-ssl connections
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 3 Sep 2025 14:47:00 +0000 (16:47 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 Sep 2025 13:56:42 +0000 (15:56 +0200)
commitef07d3511a00e162575d335ed0b6cae6df50842c
tree1636cb3b47237a7f1cef7b909e3e2d9557a4dcad
parent52866349a1c5de450c519d558d2fa8bc97d8607b
OPTIM: proto_rhttp: Don't set SNI for non-ssl connections

There is no reason to set the SNI for non-ssl connections. It is not really
an issue because ssl_sock_set_servername() function will do nothing. But
there is no reason to uselessly evaluate an expression.

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