]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: define a tx STREAM frame list member
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 18 Nov 2024 08:53:39 +0000 (09:53 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 19 Nov 2024 15:16:48 +0000 (16:16 +0100)
commit4a94a018f0d5e502b6f1df49721b8e0ecba33844
tree74e42be796569d895520153392813bd1822b656a
parent886a7c475cee89f39731b3518f6a10615756636a
MINOR: mux-quic: define a tx STREAM frame list member

For STREAM emission, MUX QUIC previously used a local list defined under
qcc_io_send(). This was suitable as either all frames were sent, or
emission must be interrupted due to transport congestion or fatal error.
In the latter case, the list was emptied anyway and a new frame list was
built on future qcc_io_send() invokation.

For pacing, MUX QUIC may have to save the frame list if pacing should be
applied across emission. This is necessary to avoid to unnecessarily
rebuilt stream frame list between each paced emission. To support this,
STREAM list is now stored as a member of QCC structure.

Ensure frame list is always deleted, even on QCC release, using newly
defined utility function qcc_tx_frms_free().
include/haproxy/mux_quic-t.h
src/mux_quic.c