From: Christopher Faulet Date: Wed, 30 Sep 2020 15:30:15 +0000 (+0200) Subject: MINOR: mux-h1: Don't wakeup the H1C when output buffer become available X-Git-Tag: v2.3-dev6~85 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7b06d3adaa04d006f3aa37e9d728848f0ef78dcb;p=thirdparty%2Fhaproxy.git 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. --- 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;