mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-26 21:31:01 +01:00
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.
This commit is contained in:
parent
e9da975aab
commit
7b06d3adaa
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user