MINOR: stream-int: remove dependency on CO_FL_WAIT_ROOM for rcv_buf()
authorWilly Tarreau <w@1wt.eu>
Fri, 17 Jan 2020 16:24:30 +0000 (17:24 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 17 Jan 2020 16:24:30 +0000 (17:24 +0100)
commit93c9f59a9c4211784d5d3769e6f77273cbb05916
treee336fc7dac44d21b833881202a29c9d580066a05
parente2a0eeca778115adc2e6dd7c89bb36181f349ca1
MINOR: stream-int: remove dependency on CO_FL_WAIT_ROOM for rcv_buf()

The only case where this made sense was with mux_h1 but Since we
introduced CS_FL_MAY_SPLICE, we don't need to rely on this anymore,
thus we don't need to clear it either when we do not splice.

There is a last check on this flag used to determine if the rx channel
is full and that cannot go away unless it's changed to use the CS
instead but for now this wouldn't add any benefit so better not do
it yet.
src/stream_interface.c