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.
This commit is contained in:
Frédéric Lécaille 2022-05-25 17:14:28 +02:00 committed by Amaury Denoyelle
parent f717a4bc7c
commit 38dea05ca9
2 changed files with 5 additions and 5 deletions

View 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

View 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 },