]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic-be: backend SSL session reuse fix (OpenSSL 3.5)
authorFrederic Lecaille <flecaille@haproxy.com>
Tue, 4 Nov 2025 09:06:13 +0000 (10:06 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Fri, 14 Nov 2025 16:50:49 +0000 (17:50 +0100)
commit54eeda4b012be96dcc8c46a47fa69e9d48607393
tree72184526dad22f0458a2f51e3ed0d357362e896c
parent644bf585c3914ea33bfa116c8caf9d58d0447942
BUG/MINOR: quic-be: backend SSL session reuse fix (OpenSSL 3.5)

This bug impacts only the QUIC backends when haproxy is compiled against
OpenSSL 3.5 with QUIC API(HAVE_OPENSSL_QUIC).

The QUIC clients could not reuse their SSL session because the TLS tickets
received from the servers could not be provided to the TLS stack. This should
be done when the stack calls ha_quic_ossl_crypto_recv_rcd()
(OSSL_FUNC_SSL_QUIC_TLS_CRYPTO_RECV_RCD callback).

According to OpenSSL team, an SSL_read() call must be done after the handshake
completion. It seems the correct location is at the same level as for
SSL_process_quic_post_handshake() for quictls.

Thank you to @mattcaswell, @Sashan and @vdukhovni for having helped in solving
this issue.

Must be backported to 3.1
src/quic_ssl.c