]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: mux-quic: increase stream flow-control for multi-buffer alloc
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 4 Mar 2025 14:25:44 +0000 (15:25 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 7 Mar 2025 11:06:27 +0000 (12:06 +0100)
commitdc7913d814b7e5cd87c996ee255cb6a84946b5e6
tree9a766aa359b6bf798e5efc86a73c583d32677d3a
parent75027692a3a8840627f478c09a7d1939161bc82f
MAJOR: mux-quic: increase stream flow-control for multi-buffer alloc

Support for multiple Rx buffers per QCS instance has been introduced by
previous patches. However, due to flow-control initial values, client
were still unable to fully used this to increase their upload
throughput.

This patch increases max-stream-data-bidi-remote flow-control initial
values. A new define QMUX_STREAM_RX_BUF_FACTOR will fix the number of
concurrent buffers allocable per QCS. It is set to 90.

Note that connection flow-control initial value did not changed. It is
still configured to be equivalent to bufsize multiplied by the maximum
concurrent streams. This ensures that Rx buffers allocation is still
constrained per connection, so that it won't be possible to have all
active QCS instances using in parallel their maximum Rx buffers count.
include/haproxy/mux_quic.h
src/quic_tp.c