BUG/MINOR: mux-h2: also make sure blocked legacy connections may expire
The backport of commit 2dcdc2236 ("MINOR: mux-h2: add a per-connection
list of blocked streams") missed one addition of LIST_ADDQ(blocked_list)
for the legacy version. This makes the stream not be counted as blocked
and will not let the connection expire in this specific case.
This fix is specific to 2.0 and must be backported to 1.9 as well.
diff --git a/src/mux_h2.c b/src/mux_h2.c
index 3ec4dff..8841c0e 100644
--- a/src/mux_h2.c
+++ b/src/mux_h2.c
@@ -4367,6 +4367,7 @@
h2s->flags |= H2_SF_BLK_SFCTL;
if (LIST_ADDED(&h2s->list))
LIST_DEL_INIT(&h2s->list);
+ LIST_ADDQ(&h2c->blocked_list, &h2s->list);
goto end;
}