]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: handle partially received buffered stream frame
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 25 Feb 2022 16:36:31 +0000 (17:36 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 1 Mar 2022 09:52:31 +0000 (10:52 +0100)
commitf77e3435a90d05c3723d94829ed131dfc0726721
treedb7444af6c8af936c5770c43c7c52f1caf32a3d7
parent2d2d030522bce099e8118097b68a2babc6b4e561
MINOR: quic: handle partially received buffered stream frame

Adjust the function to handle buffered STREAM frames. If the offset of
the frame was already fully received, discard the frame. If only
partially received, compute the difference and copy only the newly
offset.

Before this change, a buffered frame representing a fully or partially
received offset caused the loop to be interrupted. The frame was
preserved, thus preventing frames with greater offset to be handled.

This may fix some occurences of stalled transfer on the request channel
if there is out-of-order STREAM frames on the Rx path.
src/xprt_quic.c