]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: mux-quic: define new unions for flow-control fields
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 7 Feb 2022 15:03:22 +0000 (16:03 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 4 Mar 2022 16:00:12 +0000 (17:00 +0100)
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

index b1f37564bc6eae01b6f3482ca9185406b3d77bea..47a3947b18139afbc926d79358d373d58d88d02d 100644 (file)
@@ -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;