]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: count local flow-control stream limit on reception
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 26 Apr 2022 09:21:10 +0000 (11:21 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 28 Apr 2022 12:56:14 +0000 (14:56 +0200)
commit44d0912f7bf7dc70281fb3ec0b03b81f4bbc95b0
tree4328065bad186075955e5d20e7952942b110f49f
parent17014a64bfc5b570708e6646e25f04789bddede8
MINOR: mux-quic: count local flow-control stream limit on reception

Add new qcs fields to count the sum of bytes received for each stream.
This is necessary to enforce flow-control for reception on the peer.

For the moment, the implementation is partial. No MAX_STREAM_DATA or
FLOW_CONTROL_ERROR are emitted. BUG_ON statements are here as a
remainder.

This means that for the moment we do not support POST payloads greater
that the initial max-stream-data announced (256k currently).

At least, we now ensure that we never buffer a frame which overflows the
flow-control limit : this ensures that the memory consumption per stream
should stay under control.
include/haproxy/mux_quic-t.h
src/mux_quic.c