From: Amaury Denoyelle Date: Mon, 4 Jul 2022 13:31:43 +0000 (+0200) Subject: REORG: mux-quic: reorganize flow-control fields X-Git-Tag: v2.7-dev2~103 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=321fa7733c6cb39de8e958ab61281605f7af936f;p=thirdparty%2Fhaproxy.git REORG: mux-quic: reorganize flow-control fields is used to implement STREAM ID flow control enforcement. Move it with all fields related to this operation and separated from MAX STREAM DATA calcul. --- diff --git a/include/haproxy/mux_quic-t.h b/include/haproxy/mux_quic-t.h index 606f4aaf3d..1772a3847b 100644 --- a/include/haproxy/mux_quic-t.h +++ b/include/haproxy/mux_quic-t.h @@ -54,9 +54,10 @@ struct qcc { struct list frms; /* prepared frames related to flow-control */ uint64_t ms_bidi_init; /* max initial sub-ID of bidi stream allowed for the peer */ uint64_t ms_bidi; /* max sub-ID of bidi stream allowed for the peer */ + uint64_t cl_bidi_r; /* total count of closed remote bidi stream since last MAX_STREAMS emission */ + uint64_t msd_bidi_l; /* initial max-stream-data on local streams */ uint64_t msd_bidi_r; /* initial max-stream-data on remote streams */ - uint64_t cl_bidi_r; /* total count of closed remote bidi stream since last MAX_STREAMS emission */ uint64_t md; /* current max-data allowed for the peer */ uint64_t md_init; /* initial max-data */