MINOR: stconn: Propagate EOS from a mux to the attached stream-connector
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 17 Apr 2023 15:29:29 +0000 (17:29 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 17 Apr 2023 15:41:28 +0000 (17:41 +0200)
commit1aec6c92cb4ab224f1a82c705d0df221810be928
tree9e96cdc5f38b836ddc0f9e1dd27f5a3b17dbe666
parentca5309a9a3366a7988ef83229b03730a166b6ba4
MINOR: stconn: Propagate EOS from a mux to the attached stream-connector

Now there is a SC flag to state the endpoint has reported an end-of-stream,
it is possible to distinguish an EOS from an abort at the stream-connector
level.

sc_conn_read0() function is renamed to sc_conn_eos() and it propagates an
EOS by setting SC_FL_EOS instead of SC_FL_ABRT_DONE. It only concernes
stream-connectors attached to a mux.
src/stconn.c