mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-11 09:52:56 -04:00
MINOR: stream-int: Don't use the flag CO_RFL_KEEP_RSV anymore in si_cs_recv()
Because the channel_recv_max() always return the right value, for HTX and legacy streams, we don't need to set this flag. The multiplexer don't use it anymore.
This commit is contained in:
parent
8a9ad4c0e8
commit
9cdd5036f3
1 changed files with 1 additions and 4 deletions
|
|
@ -1281,10 +1281,7 @@ int si_cs_recv(struct conn_stream *cs)
|
|||
* CS_FL_RCV_MORE on the CS if more space is needed.
|
||||
*/
|
||||
max = channel_recv_max(ic);
|
||||
ret = cs->conn->mux->rcv_buf(cs, &ic->buf, max,
|
||||
flags |
|
||||
(co_data(ic) ? CO_RFL_BUF_WET : 0) |
|
||||
((channel_recv_limit(ic) < b_size(&ic->buf)) ? CO_RFL_KEEP_RSV : 0));
|
||||
ret = cs->conn->mux->rcv_buf(cs, &ic->buf, max, flags | (co_data(ic) ? CO_RFL_BUF_WET : 0));
|
||||
|
||||
if (cs->flags & CS_FL_WANT_ROOM)
|
||||
si_rx_room_blk(si);
|
||||
|
|
|
|||
Loading…
Reference in a new issue