MINOR: stconn: Remove unecessary test on SE_FL_EOS before receiving data
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 21 Mar 2023 09:50:16 +0000 (10:50 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 5 Apr 2023 06:57:05 +0000 (08:57 +0200)
commit9bce9724ec04eeb848438bf912ef3fbd445f22cc
treeb3d31d3f2ffecaa3b7871ba6deaaf5e715687226
parent28975e1e1012e4a009b4208f3fc022ea2bfb8b82
MINOR: stconn: Remove unecessary test on SE_FL_EOS before receiving data

In sc_conn_recv(), if the EOS is reported by the endpoint, it will always be
acknowledged by the SC and a read0 will be performed on the input
channel. Thus there is no reason to still test at the begining of the
function because there is already a test on CF_SHUTR.
src/stconn.c