]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Move the packet number space status at quic_conn level
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 28 Jun 2023 16:41:42 +0000 (18:41 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 30 Jun 2023 14:20:55 +0000 (16:20 +0200)
commitb97de9dc21fea3595680cfc81b7513115331a049
treeba247606c5032c9e8d5d6f3baca1a97b2d9eb3fa
parent75ae0f7bbc08e8b39ab75bf08f32f306ad6f0fc9
MINOR: quic: Move the packet number space status at quic_conn level

As the packet number spaces and encryption level are dynamically allocated,
the information about the packet number space discarded status must be kept
somewhere else than in these objects.

quic_tls_discard_keys() is no more useful.
Modify quic_pktns_discard() to do the same job: flag the quic_conn object
has having discarded packet number space.
Implement quic_tls_pktns_is_disarded() to check if a packet number space is
discarded. Note the Application data packet number space is never discarded.
include/haproxy/quic_conn-t.h
include/haproxy/quic_tls-t.h
include/haproxy/quic_tls.h
src/quic_conn.c