diff --git a/src/mux_h2.c b/src/mux_h2.c index 0b28c38c9..20b965173 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -4600,6 +4600,8 @@ static int h2_unsubscribe(struct conn_stream *cs, int event_type, void *param) if (h2s->send_wait == sw) { sw->events &= ~SUB_CALL_UNSUBSCRIBE; h2s->send_wait = NULL; + LIST_DEL(&h2s->list); + LIST_INIT(&h2s->list); } } return 0;