]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: mux-quic: remove loop on sending frames
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 4 Aug 2022 08:11:12 +0000 (10:11 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 9 Aug 2022 13:41:07 +0000 (15:41 +0200)
commit56c6154dba95c74659f0b2d72073e80d63b92c4b
treeaeb9a1a406d94184545044c64eb50bbbf5a628c1
parentdb3716b8db98c45fcf24fd4a10d326c9a3b3e9c1
CLEANUP: mux-quic: remove loop on sending frames

qc_send_app_pkts() has now a while loop implemented which allows to send
all possible frames even if the send buffer is full between packet
prepare and send. This is present since commit :
  dc07751ed7ebad10f49081d28a9a5ae785f53d76
  MINOR: quic: Send packets as much as possible from qc_send_app_pkts()

This means we can remove code from the MUX which implement this at the
upper layer. This is useful to simplify qc_send_frames() function.

As mentionned commit is subject to backport, this commit should be
backported as well to 2.6.
src/mux_quic.c