]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection/ssl: Store the SNI hash value in the connection itself
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 Dec 2025 10:04:21 +0000 (11:04 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 8 Dec 2025 14:22:01 +0000 (15:22 +0100)
commit28654f3c9bfc1386b4e57e0f1577053dfc78f21e
treea847f9c60fd3109ab29ba97ff6d14c4fb12bf3e1
parent92f77cb3e6b2532a285643863d6fd26e53f4cc24
MINOR: connection/ssl: Store the SNI hash value in the connection itself

When a SNI is set on a new connection, its hash is now saved in the
connection itself. To do so, a dedicated field was added into the connection
strucutre, called sni_hash. For now, this value is only used when the TLS
session is cached.
include/haproxy/connection-t.h
src/backend.c
src/connection.c
src/ssl_sock.c
src/tcpcheck.c