From 7b06d3adaa04d006f3aa37e9d728848f0ef78dcb Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Wed, 30 Sep 2020 17:30:15 +0200 Subject: [PATCH] MINOR: mux-h1: Don't wakeup the H1C when output buffer become available There is no reason to wake up the H1 connection when a new output buffer is retrieved after an allocation failure because only the H1 stream will fill it. --- src/mux_h1.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mux_h1.c b/src/mux_h1.c index d4c109f9bc..a7fed2a6f8 100644 --- a/src/mux_h1.c +++ b/src/mux_h1.c @@ -401,7 +401,6 @@ static int h1_buf_available(void *target) if ((h1c->flags & H1C_F_OUT_ALLOC) && b_alloc_margin(&h1c->obuf, 0)) { TRACE_STATE("unblocking h1s, obuf allocated", H1_EV_TX_DATA|H1_EV_H1S_BLK|H1_EV_STRM_WAKE, h1c->conn, h1c->h1s); h1c->flags &= ~H1C_F_OUT_ALLOC; - tasklet_wakeup(h1c->wait_event.tasklet); if (h1c->h1s) h1_wake_stream_for_send(h1c->h1s); return 1; -- 2.47.3