MINOR: quic: Post handshake packet building improvements
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 19 Aug 2021 15:35:21 +0000 (17:35 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Sep 2021 13:27:25 +0000 (15:27 +0200)
commitf79809641282c9372817c4d5079c5b82c2c0b432
tree118a421e0c31e5ca0ae3d6a3db78b7051b200a29
parent754f99e9956dc904a56479ffc296d0ecc8280a34
MINOR: quic: Post handshake packet building improvements

Make qc_prep_hdshk_pkts() and qui_conn_io_cb() handle the case
where we enter them with QUIC_HS_ST_COMPLETE or QUIC_HS_ST_CONFIRMED
as connection state with QUIC_TLS_ENC_LEVEL_APP and QUIC_TLS_ENC_LEVEL_NONE
to consider to prepare packets.
quic_get_tls_enc_levels() is modified to return QUIC_TLS_ENC_LEVEL_APP
and QUIC_TLS_ENC_LEVEL_NONE as levels to consider when coalescing
packets in the same datagram.
include/haproxy/quic_tls.h
src/xprt_quic.c