projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6ff035
)
BUG/MEDIUM: H2: Activate polling after successful h2_snd_buf().
author
Olivier Houchard
<ohouchard@haproxy.com>
Tue, 21 Aug 2018 14:36:10 +0000
(16:36 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Tue, 21 Aug 2018 16:06:57 +0000
(18:06 +0200)
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
patch
|
blob
|
history
diff --git
a/src/mux_h2.c
b/src/mux_h2.c
index
4a3150a
..
7824cfe
100644
(file)
--- 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;
}