]> git.kaiwu.me - haproxy.git/commit
MEDIUM: quic-be: enable the use of 0-RTT
authorFrederic Lecaille <flecaille@haproxy.com>
Sat, 2 Aug 2025 08:46:09 +0000 (10:46 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Thu, 13 Nov 2025 13:04:31 +0000 (14:04 +0100)
commit6419b9f204c7162c6a952f1104d5847f007d6197
tree7d5c5dc6bc66a5034d22e2440c806da877b83217
parent46d490f7c203178d4af3a87450233a6ddb47fc31
MEDIUM: quic-be: enable the use of 0-RTT

This patch allows the use of 0-RTT feature on QUIC server lines with "allow-0rtt"
option. In fact 0-RTT is really enabled only if ssl_sock_srv_try_reuse_sess()
successfully manages to reuse the SSL session and the chosen application protocol
from previous connections.

Note that, at this time, 0-RTT works only with quictls and aws-lc as TLS stack.

(0-RTT does not work at all (even for QUIC frontends) with libressl).
include/haproxy/openssl-compat.h
src/quic_ssl.c