From: Amaury Denoyelle Date: Wed, 3 Feb 2021 15:27:22 +0000 (+0100) Subject: BUG/MINOR: mux_h2: fix incorrect stat titles X-Git-Tag: v2.4-dev7~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=377d8786a79dad763ccdd40afbd52dccff9c9980;p=thirdparty%2Fhaproxy.git BUG/MINOR: mux_h2: fix incorrect stat titles Duplicate titles for the stats H2_ST_{OPEN,TOTAL}_{CONN,STREAM}. These entries are used on csv for the heading. This must be backported up to 2.3. This fixes the github issue #1102. --- diff --git a/src/mux_h2.c b/src/mux_h2.c index 2de155f311..511975bd9c 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -432,9 +432,9 @@ static struct name_desc h2_stats[] = { .desc = "Count of currently open connections" }, [H2_ST_OPEN_STREAM] = { .name = "h2_backend_open_streams", .desc = "Count of currently open streams" }, - [H2_ST_TOTAL_CONN] = { .name = "h2_open_connections", + [H2_ST_TOTAL_CONN] = { .name = "h2_total_connections", .desc = "Total number of connections" }, - [H2_ST_TOTAL_STREAM] = { .name = "h2_backend_open_streams", + [H2_ST_TOTAL_STREAM] = { .name = "h2_backend_total_streams", .desc = "Total number of streams" }, };