From: Olivier Houchard Date: Tue, 21 Aug 2018 14:36:10 +0000 (+0200) Subject: BUG/MEDIUM: H2: Activate polling after successful h2_snd_buf(). X-Git-Tag: v1.9-dev2~136 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fab7c7e91cdddfe43e0231b01052d52480247eee;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/mux_h2.c b/src/mux_h2.c index 4a3150a2e7..7824cfe40d 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; }