]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connections: Add a new CO_FL_SSL_NO_CACHED_INFO flag
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 9 Dec 2025 15:10:24 +0000 (16:10 +0100)
committerOlivier Houchard <cognet@ci0.org>
Tue, 9 Dec 2025 15:43:31 +0000 (16:43 +0100)
commitdcce9369129f6ca9b8eed6b451c0e20c226af2e3
treec473cecbfc132aa7086590fefb5735fcfe5fd26b
parent260d64d7870ed3c4be62f98a4253e25fa3db6a6d
MINOR: connections: Add a new CO_FL_SSL_NO_CACHED_INFO flag

Add a new flag to connections, CO_FL_SSL_NO_CACHED_INFO, and set it for
checks.
It lets the ssl layer know that he should not use cached informations,
such as the ALPN as stored in the server, or cached sessions.
This wlil be used for checks, as checks may target different servers, or
used a different SSL configuration, so we can't assume the stored
informations are correct.

This should be backported to 3.3, and may be backported up to 2.8 if the
attempts to do session resume by checks is proven to be a problem.
include/haproxy/connection-t.h
src/tcpcheck.c