]> git.kaiwu.me - haproxy.git/commit
MINOR: quic: RETIRE_CONNECTION_ID frame handling (RX)
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 6 Mar 2023 17:16:34 +0000 (18:16 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 8 Mar 2023 07:50:54 +0000 (08:50 +0100)
commit8ac8a8778d82cb089ab88a37a924d8b93c3789f7
tree182dcc45eeea63590fcfb634a43dc0afa45c4211
parent904caac3e44bd8e61c087b3001a5b7ec06184c28
MINOR: quic: RETIRE_CONNECTION_ID frame handling (RX)

Add ->curr_cid_seq_num new quic_conn struct frame to store the connection
ID sequence number currently used by the connection.
Implement qc_handle_retire_connection_id_frm() to handle this RX frame.
Implement qc_retire_connection_seq_num() to remove a connection ID from its
sequence number.
Implement qc_build_new_connection_id_frm to allocate a new NEW_CONNECTION_ID
frame from a CID.
Modify qc_parse_pkt_frms() which parses the frames of an RX packet to handle
the case of the RETIRE_CONNECTION_ID frame.

Must be backported to 2.7.
include/haproxy/quic_conn-t.h
src/quic_conn.c