]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic: Connection TX buffer setting renaming.
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 25 May 2022 15:14:28 +0000 (17:14 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 30 May 2022 07:59:26 +0000 (09:59 +0200)
Rename "tune.quic.conn-buf-limit" to "tune.quic.frontend.conn-tx-buffers.limit"
to reflect the stream direction (TX) and the objects (frontends) which are
concerned.

doc/configuration.txt
src/cfgparse-quic.c

index adce27bc9677a644a4b1e83e91525a5a968256c9..19b6ecd052fb4a59f5ae0a967566e5b46f82ca35 100644 (file)
@@ -1124,7 +1124,7 @@ The following keywords are supported in the "global" section :
    - tune.pipesize
    - tune.pool-high-fd-ratio
    - tune.pool-low-fd-ratio
-   - tune.quic.conn-buf-limit
+   - tune.quic.frontend.conn-tx-buffers.limit
    - tune.quic.frontend.max-idle-timeout
    - tune.quic.frontend.max-streams-bidi
    - tune.quic.retry-threshold
@@ -2937,7 +2937,7 @@ tune.pool-low-fd-ratio <number>
   use before we stop putting connection into the idle pool for reuse. The
   default is 20.
 
-tune.quic.conn-buf-limit <number>
+tune.quic.frontend.conn-tx-buffers.limit <number>
   Warning: QUIC support in HAProxy is currently experimental. Configuration may
   change without deprecation in the future.
 
@@ -2945,7 +2945,7 @@ tune.quic.conn-buf-limit <number>
   connection on data emission. By default, it is set to 30. QUIC buffers are
   drained on ACK reception. This setting has a direct impact on the throughput
   and memory consumption and can be adjusted according to an estimated round
-  time-trip.
+  time-trip. Each buffer is tune.bufsize.
 
 tune.quic.frontend.max-idle-timeout <timeout>
   Warning: QUIC support in HAProxy is currently experimental. Configuration may
index e89b5a2e6fe800ebb90c2b808e2bd8cea43d2e7c..8ccb83bab61d8689d328ac507bff83c2dd165534 100644 (file)
@@ -90,7 +90,7 @@ static int cfg_parse_quic_tune_setting(char **args, int section_type,
        }
 
        suffix = args[0] + prefix_len;
-       if (strcmp(suffix, "conn-buf-limit") == 0)
+       if (strcmp(suffix, "frontend.conn-tx-buffers.limit") == 0)
                global.tune.quic_streams_buf = arg;
        else if (strcmp(suffix, "frontend.max-streams-bidi") == 0)
                global.tune.quic_frontend_max_streams_bidi = arg;
@@ -106,7 +106,7 @@ static int cfg_parse_quic_tune_setting(char **args, int section_type,
 
 static struct cfg_kw_list cfg_kws = {ILH, {
        { CFG_GLOBAL, "tune.quic.backend.max-idle-timeou", cfg_parse_quic_time },
-       { CFG_GLOBAL, "tune.quic.conn-buf-limit", cfg_parse_quic_tune_setting },
+       { CFG_GLOBAL, "tune.quic.frontend.conn-tx-buffers.limit", cfg_parse_quic_tune_setting },
        { CFG_GLOBAL, "tune.quic.frontend.max-streams-bidi", cfg_parse_quic_tune_setting },
        { CFG_GLOBAL, "tune.quic.frontend.max-idle-timeout", cfg_parse_quic_time },
        { CFG_GLOBAL, "tune.quic.retry-threshold", cfg_parse_quic_tune_setting },