MINOR: stconn: Always ack EOS at the end of sc_conn_recv()
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 21 Mar 2023 10:25:21 +0000 (11:25 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 5 Apr 2023 06:57:05 +0000 (08:57 +0200)
commitb208d8cd64252c5ffee751216ff68b73c62666e3
tree7d43293cdbc962485a0873a20f555037cf147dab
parente9bacf642d12f6da195617f54f3c44e501902420
MINOR: stconn: Always ack EOS at the end of sc_conn_recv()

EOS is now acknowledge at the end of sc_conn_recv(), even if an error was
encountered. There is no reason to not do so, especially because, if it not
performed here, it will be ack in sc_conn_process().

Note, it is still performed in sc_conn_process() because this function is
also the .wake callback function and can be directly called from the lower
layer.
src/stconn.c