]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: support max bidi streams value set by the peer
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 18 Jun 2025 07:25:39 +0000 (09:25 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 18 Jun 2025 15:25:27 +0000 (17:25 +0200)
commit06cab99a0e9f3e3c4bdb0b4ebb1c7a36559aa6f2
tree8bc73e375a83f7c01725cde56486518929466864
parent805a070ab920d14b22a6b7beac3b0648e684b2d2
MINOR: mux-quic: support max bidi streams value set by the peer

Implement support for MAX_STREAMS frame. On frontend, this was mostly
useless as haproxy would never initiate new bidirectional streams.
However, this becomes necessary to control stream flow-control when
using QUIC as a client on the backend side.

Parsing of MAX_STREAMS is implemented via new qcc_recv_max_streams().
This allows to update <ms_uni>/<ms_bidi> QCC fields.

This patch is necessary to achieve QUIC backend connection reuse.
include/haproxy/mux_quic-t.h
include/haproxy/mux_quic.h
src/mux_quic.c
src/quic_rx.c