]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Enable early data at SSL session level (aws-lc)
authorFrederic Lecaille <flecaille@haproxy.com>
Tue, 23 Jan 2024 10:41:44 +0000 (11:41 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Tue, 23 Jan 2024 15:03:29 +0000 (16:03 +0100)
commitf783dd959b3e0b1670ab622d6e0cd8930f7c9ad3
treef83e3c8d6cdbc1799440265fb30823c9cef369b0
parent1cddd2637b4bba030229823d26d69c9990946cf5
MINOR: quic: Enable early data at SSL session level (aws-lc)

This patch impacts only the haproxy build against aws-lc TLS stack (USE_OPENSSL_AWSLC).

Implement qc_set_quic_early_data_enabled() new function to enable
early data at session level. To make QUIC O-RTT work, a context string
must be set calling SSL_set_quic_early_data_context(). This is a
subset of the encoded transport parameters which is used for this.
Note that some application level settings should be also added (TODO).

This patch is required to make 0-RTT work for haproxy builds against aws-lc.
src/quic_ssl.c