From: Willy Tarreau Date: Thu, 20 Dec 2018 14:35:57 +0000 (+0100) Subject: BUG/MEDIUM: mux-h2: Don't forget to quit the send list on error reports X-Git-Tag: v2.0-dev0~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=645b33d2332d263d00ecf2077c74c988655af0e2;p=thirdparty%2Fhaproxy.git BUG/MEDIUM: mux-h2: Don't forget to quit the send list on error reports Similar to last fix, we need to quit the send list when reporting an error via the send side. This should be backported to 1.9. --- diff --git a/src/mux_h2.c b/src/mux_h2.c index 20b9651734..582509ff3e 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -617,6 +617,8 @@ static void __maybe_unused h2s_notify_send(struct h2s *h2s) sw->events &= ~SUB_RETRY_SEND; tasklet_wakeup(sw->task); h2s->send_wait = NULL; + LIST_DEL(&h2s->list); + LIST_INIT(&h2s->list); } }