]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-quic: respect peer connection data limit
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 8 Mar 2022 09:35:42 +0000 (10:35 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 23 Mar 2022 09:05:29 +0000 (10:05 +0100)
commit05ce55e5827e3abd1ba0eb4ac2aa774f7f347617
tree9a80d5b6747631d71bafa5010ae51784f41867e1
parent6ea781919a520258ca24da277fc942e068d0a752
MEDIUM: mux-quic: respect peer connection data limit

This commit is similar to the previous one, but this time on the
connection level instead of the stream.

When the connection limit is reached, the connection is flagged with
QC_CF_BLK_MFCTL. This flag is checked in qc_send.

qcs_push_frame uses a new parameter which is used to not exceed the
connection flow-limit while calling it repeatdly over multiple streams
instance before transfering data to the transport layer.
include/haproxy/mux_quic-t.h
src/mux_quic.c