BUG/MINOR: mux-h2: don't report a fantom h2s in "show fd"
The h2s pointer was used to scan fctl lists prior to being used to scan
the send list by ID, so it could appear non-null eventhough the list is
empty, resulting in misleading information on empty connections.
No backport is needed.
diff --git a/src/mux_h2.c b/src/mux_h2.c
index 33510dc..58a0521 100644
--- a/src/mux_h2.c
+++ b/src/mux_h2.c
@@ -4860,6 +4860,7 @@
list_for_each_entry(h2s, &h2c->send_list, list)
send_cnt++;
+ h2s = NULL;
node = eb32_first(&h2c->streams_by_id);
while (node) {
h2s = container_of(node, struct h2s, by_id);