From: Willy Tarreau Date: Thu, 4 Dec 2025 13:46:51 +0000 (+0100) Subject: BUG/MEDIUM: connection: fix "bc_settings_streams_limit" typo X-Git-Tag: v3.4-dev1~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b29560f610527acfc617e7badf990edcae799ed3;p=thirdparty%2Fhaproxy.git BUG/MEDIUM: connection: fix "bc_settings_streams_limit" typo The keyword was correct in the doc but in the code it was spelled with a missing 's' after 'settings', making it unavailable. Since there was no other way to find this but reading the code, it's safe to simply fix it and assume nobody relied on the wrong spelling. In the worst case for older backports it can also be duplicated. This must be backported to 3.0. --- diff --git a/src/connection.c b/src/connection.c index d2ba279e6..ed3764df5 100644 --- a/src/connection.c +++ b/src/connection.c @@ -2759,7 +2759,7 @@ static struct sample_fetch_kw_list sample_fetch_keywords = {ILH, { { "bc_glitches", smp_fetch_fc_glitches, 0, NULL, SMP_T_SINT, SMP_USE_L4SRV }, { "bc_http_major", smp_fetch_fc_http_major, 0, NULL, SMP_T_SINT, SMP_USE_L4SRV }, { "bc_nb_streams", smp_fetch_fc_nb_streams, 0, NULL, SMP_T_SINT, SMP_USE_L5SRV }, - { "bc_setting_streams_limit", smp_fetch_fc_streams_limit, 0, NULL, SMP_T_SINT, SMP_USE_L5SRV }, + { "bc_settings_streams_limit", smp_fetch_fc_streams_limit, 0, NULL, SMP_T_SINT, SMP_USE_L5SRV }, { "fc_err", smp_fetch_fc_err, 0, NULL, SMP_T_SINT, SMP_USE_L4CLI }, { "fc_err_name", smp_fetch_fc_err_str, 0, NULL, SMP_T_STR, SMP_USE_L4CLI }, { "fc_err_str", smp_fetch_fc_err_str, 0, NULL, SMP_T_STR, SMP_USE_L4CLI },