]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-quic: complete flow-control for uni streams
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 21 Oct 2022 15:02:18 +0000 (17:02 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 21 Oct 2022 15:31:18 +0000 (17:31 +0200)
commit176174f7e4734ca8d7a27a622be44ec386d36f4c
tree4fca75421658c0f473facdbc1db37415265a2347
parente951c3435c760142612461dc759b6fbb2ec69c21
BUG/MINOR: mux-quic: complete flow-control for uni streams

Max stream data was not enforced and respect for local/remote uni
streams. Previously, qcs instances incorrectly reused the limit defined
from bidirectional ones.

This is now fixed. Two fields are added in qcc structure connection :
* value for local flow control to enforce on remote uni streams
* value for remote flow control to respect on local uni streams

These two values can be reused to properly initialized msd field of a
qcs instance in qcs_new(). The rest of the code is similar.

This must be backported up to 2.6.
include/haproxy/mux_quic-t.h
src/mux_quic.c