]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: retry send opportunistically for remaining frames
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 4 Mar 2022 14:29:53 +0000 (15:29 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 4 Mar 2022 16:00:12 +0000 (17:00 +0100)
commite9c4cc13fc4d6d1733ffcefe9c8f12c49f9bc713
tree45f4b0791368143dc2a95f1d4e5eeebfcfc43530
parent2c71fe58f03a5d6e8c40be972569fb2c7dac0ade
MINOR: mux-quic: retry send opportunistically for remaining frames

This commit should fix the possible transfer interruption caused by the
previous commit. The MUX always retry to send frames if there is
remaining data after a send call on the transport layer. This is useful
if the transport layer is not blocked on the sending path.

In the future, the transport layer should retry by itself the send
operation if no blocking condition exists. The MUX layer will always
subscribe to retry later if remaining frames are reported which indicate
a blocking on the transport layer.
src/mux_quic.c