From 321fa7733c6cb39de8e958ab61281605f7af936f Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Mon, 4 Jul 2022 15:31:43 +0200 Subject: [PATCH] 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. --- include/haproxy/mux_quic-t.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/haproxy/mux_quic-t.h b/include/haproxy/mux_quic-t.h index 606f4aaf3..1772a3847 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 */