From 414df7684a155d101549c314d2b0f38286f3c2b7 Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Mon, 7 Feb 2022 16:03:22 +0100 Subject: [PATCH] MINOR: mux-quic: define new unions for flow-control fields Define two new unions in the qcc structure named 'lfctl' and 'rfctl'. For the moment they are empty. They will be completed to store the initial and current level for flow-control on the local and remote side. --- include/haproxy/mux_quic-t.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/haproxy/mux_quic-t.h b/include/haproxy/mux_quic-t.h index b1f37564b..47a3947b1 100644 --- a/include/haproxy/mux_quic-t.h +++ b/include/haproxy/mux_quic-t.h @@ -42,6 +42,14 @@ struct qcc { } tx; } strms[QCS_MAX_TYPES]; + /* Flow-control related fields which are enforced on our side. */ + struct { + } lfctl; + + /* Flow-control related fields from the endpoint which we must respect. */ + struct { + } rfctl; + struct { uint64_t max_data; /* Maximum number of bytes which may be received */ } rx;