]> git.ipfire.org Git - thirdparty/haproxy.git/commit
OPTIM: backend: Don't set SNI for non-ssl connections
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 3 Sep 2025 14:44:15 +0000 (16:44 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 Sep 2025 13:56:42 +0000 (15:56 +0200)
commit52866349a1c5de450c519d558d2fa8bc97d8607b
treeeb0657a35d0571f940ad203fc9bc843ff276b0af
parenta97bd0f50520b8f70fe0d543a6be863b4b84ac9d
OPTIM: backend: 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/backend.c