diff --git a/doc/configuration.txt b/doc/configuration.txt index adce27bc9..19b6ecd05 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -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 use before we stop putting connection into the idle pool for reuse. The default is 20. -tune.quic.conn-buf-limit +tune.quic.frontend.conn-tx-buffers.limit 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 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 Warning: QUIC support in HAProxy is currently experimental. Configuration may diff --git a/src/cfgparse-quic.c b/src/cfgparse-quic.c index e89b5a2e6..8ccb83bab 100644 --- a/src/cfgparse-quic.c +++ b/src/cfgparse-quic.c @@ -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 },