]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic-be: Extract the code responsible of the SSL session restoration
authorFrederic Lecaille <flecaille@haproxy.com>
Tue, 22 Jul 2025 13:00:01 +0000 (15:00 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Sat, 2 Aug 2025 08:53:39 +0000 (10:53 +0200)
commitfa3cb697ffefd3e94cc4bb38edf63aa92f2eb7f9
tree51629ac16a2b45161ae70daf35314070705d3481
parent8afd3e588d09f16313b4f9ea1b1a87f829e9b75e
MINOR: quic-be: Extract the code responsible of the SSL session restoration

This patch extracts from ssl_sock_init() the code which restores the SSL
server session which have been saved by thead by the callback set by
SSL_CTX_sess_set_new_cb() to implement ssl_sock_srv_try_reuse_sess().

Call this function when initializing the QUIC backend SSL contexts for
each connection.
include/haproxy/ssl_sock.h
src/quic_ssl.c
src/ssl_sock.c