MINOR: quic: Connection TX buffer setting renaming.
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.
diff --git a/doc/configuration.txt b/doc/configuration.txt
index adce27b..19b6ecd 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -1124,7 +1124,7 @@
- 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 @@
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 @@
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
diff --git a/src/cfgparse-quic.c b/src/cfgparse-quic.c
index e89b5a2..8ccb83b 100644
--- a/src/cfgparse-quic.c
+++ b/src/cfgparse-quic.c
@@ -90,7 +90,7 @@
}
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 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 },