BUG/MINOR: quic: Stop removing ACK ranges when building packets
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 17 Apr 2023 11:42:42 +0000 (13:42 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Wed, 19 Apr 2023 09:36:54 +0000 (11:36 +0200)
commit4b2627beae586678be9964959af189d7310f66ca
treedc6422bc46c39681d68099338186b909375faa71
parent8cd620b46f8b410b91cc6ee87ae0a61e72a15e7e
BUG/MINOR: quic: Stop removing ACK ranges when building packets

Since this commit:

    BUG/MINOR: quic: Possible wrapped values used as ACK tree purging limit.

There are more chances that ack ranges may be removed from their trees when
building a packet. It is preferable to impose a limit to these trees. This
will be the subject of the a next commit to come.

For now on, it is sufficient to stop deleting ack range from their trees.
Remove quic_ack_frm_reduce_sz() and quic_rm_last_ack_ranges() which were
there to do that.
Make qc_frm_len() support ACK frames and calls it to ensure an ACK frame
may be added to a packet before building it.

Must be backported to 2.6 and 2.7.
include/haproxy/quic_frame.h
src/quic_conn.c