projects
/
haproxy-2.1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f5c784
)
MINOR: mux-h2: Remove useless test on ES flag in h2_frt_transfer_data()
author
Christopher Faulet
<cfaulet@haproxy.com>
Fri, 22 Mar 2019 13:12:11 +0000
(14:12 +0100)
committer
Willy Tarreau
<w@1wt.eu>
Fri, 22 Mar 2019 17:06:17 +0000
(18:06 +0100)
Same test is already performed in the caller function, h2c_frt_handle_data().
This patch should be backported to 1.9.
src/mux_h2.c
patch
|
blob
|
history
diff --git
a/src/mux_h2.c
b/src/mux_h2.c
index
d91cd08
..
c31bf8d
100644
(file)
--- a/
src/mux_h2.c
+++ b/
src/mux_h2.c
@@
-3765,12
+3765,6
@@
try_again:
h2c->rcvd_s += h2c->dpl;
h2c->dpl = 0;
h2c->st0 = H2_CS_FRAME_A; // send the corresponding window update
-
- if (h2c->dff & H2_F_DATA_END_STREAM) {
- h2s->flags |= H2_SF_ES_RCVD;
- if (h2s->cs)
- h2s->cs->flags |= CS_FL_REOS;
- }
if (htx)
htx_to_buf(htx, csbuf);
return 1;