]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: decode as much STREAM as possible
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 27 Apr 2022 14:53:16 +0000 (16:53 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 28 Apr 2022 14:10:10 +0000 (16:10 +0200)
commit03cc62c840468fd4d69ce41d83aaefa129482202
tree9f700536aa7090456a43833d6f77350d95866a7c
parent48f01bda86eb053d79771d2dd4e809a93909e5cd
MINOR: quic: decode as much STREAM as possible

Add a loop in the bidi STREAM function. This will call repeatdly
qcc_decode_qcs() and dequeue buffered frames.

This is useful when reception of more data is interrupted because the
MUX buffer was full. qcc_decode_qcs() has probably free some space so it
is useful to immediatly retry reception of buffered frames of the qcs
tree.

This may fix occurences of stalled Rx transfers with large payload.
Note however that there is still room for improvment. The conn-stream
layer is not able at this moment to retrigger demuxing. This is because
the mux io-handler does not treat Rx : this may continue to cause
stalled tranfers.
src/h3.c
src/xprt_quic.c