mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 15:47:01 +02:00
MINOR: mux-h2: Remove useless test on ES flag in h2_frt_transfer_data()
Same test is already performed in the caller function, h2c_frt_handle_data(). This patch should be backported to 1.9.
This commit is contained in:
parent
2f5c784864
commit
3ab07c35b4
@ -3765,12 +3765,6 @@ static int h2_frt_transfer_data(struct h2s *h2s)
|
|||||||
h2c->rcvd_s += h2c->dpl;
|
h2c->rcvd_s += h2c->dpl;
|
||||||
h2c->dpl = 0;
|
h2c->dpl = 0;
|
||||||
h2c->st0 = H2_CS_FRAME_A; // send the corresponding window update
|
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)
|
if (htx)
|
||||||
htx_to_buf(htx, csbuf);
|
htx_to_buf(htx, csbuf);
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user