From fab7c7e91cdddfe43e0231b01052d52480247eee Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Tue, 21 Aug 2018 16:36:10 +0200 Subject: [PATCH] BUG/MEDIUM: H2: Activate polling after successful h2_snd_buf(). Make sure h2_send() is called after h2_snd_buf() by activating polling. This is 1.9-specific, no backport is needed. --- src/mux_h2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mux_h2.c b/src/mux_h2.c index 4a3150a2e..7824cfe40 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -3531,6 +3531,8 @@ static size_t h2_snd_buf(struct conn_stream *cs, struct buffer *buf, size_t coun } b_del(buf, total); + if (total > 0) + conn_xprt_want_send(h2s->h2c->conn); return total; }