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.
This commit is contained in:
Amaury Denoyelle 2021-02-03 16:27:22 +01:00 committed by Christopher Faulet
parent 0630038e77
commit 377d8786a7

View File

@ -432,9 +432,9 @@ static struct name_desc h2_stats[] = {
.desc = "Count of currently open connections" }, .desc = "Count of currently open connections" },
[H2_ST_OPEN_STREAM] = { .name = "h2_backend_open_streams", [H2_ST_OPEN_STREAM] = { .name = "h2_backend_open_streams",
.desc = "Count of currently 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" }, .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" }, .desc = "Total number of streams" },
}; };