]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: reorganize flow-control frames emission
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 16 May 2022 12:29:59 +0000 (14:29 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 18 May 2022 13:52:44 +0000 (15:52 +0200)
commitc985cb167db6283ac5edf87e144e96998b1ed7db
treeb05b7cc9b572113c417e9dea3fba6068bc87ff0b
parent3a0864067a72ebb6a1180c78b8b32869e74b9390
MINOR: mux-quic: reorganize flow-control frames emission

Adjust the mechanism for MAX_STREAMS_BIDI emission. When a bidirectional
stream is removed, current flow-control level is checked. If needed, a
MAX_STREAMS_BIDI frame is generated and inserted in a new list in the
QCS instance. The new frames will be emitted at the start of qc_send().

This has no impact on the current MAX_STREAMS_BIDI behavior. However,
this mechanism is more flexible and will allow to implement quickly
MAX_STREAM_DATA/MAX_DATA emission.
include/haproxy/mux_quic-t.h
src/mux_quic.c