]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MEDIUM: mux-h2: Don't forget to quit the send list on error reports
authorWilly Tarreau <w@1wt.eu>
Thu, 20 Dec 2018 14:35:57 +0000 (15:35 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 20 Dec 2018 14:35:57 +0000 (15:35 +0100)
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.

src/mux_h2.c

index 20b96517347882c87b288efd167db03f0afc46d6..582509ff3efbe2ac2c6d196fc3e2d82d0b4ab0dc 100644 (file)
@@ -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);
        }
 }