]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Enable TLS 0-RTT if needed
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 14 Dec 2021 18:23:43 +0000 (19:23 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 17 Dec 2021 07:38:43 +0000 (08:38 +0100)
commitad3c07ae8188f3fce52bb838954ec638781d1506
treeeeaab22a07b5e4a665928bef773a9c3b5064bd7d
parent0371cd54d029423b9bff6aec79053a27845ce6bd
MINOR: quic: Enable TLS 0-RTT if needed

Enable 0-RTT at the TLS context level:
    RFC 9001 4.6.1. Enabling 0-RTT
    Accordingly, the max_early_data_size parameter is repurposed to hold a
    sentinel value 0xffffffff to indicate that the server is willing to accept
    QUIC 0-RTT data.
At the SSL connection level, we must call SSL_set_quic_early_data_enabled().
src/xprt_quic.c