MINOR: mux-pt: Report end-of-input with the end-of-stream after a read
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Mar 2023 07:25:38 +0000 (08:25 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 5 Apr 2023 06:57:05 +0000 (08:57 +0200)
commit872b01c984f77ced43afc41352ed91e1f1d4ec77
tree586e55bfe59bc232785c431f268efe910cf05764
parent84d3ef982c68a8da8b82531df76ebc73765bfdcb
MINOR: mux-pt: Report end-of-input with the end-of-stream after a read

In the PT multiplexer, the end of stream is also the end of input. Thus
we must report EOI to the stream-endpoint descriptor when the EOS is
reported. For now, it is a bit useless but it will be important to
disginguish an shutdown to an error to an abort.

To be sure to not report an EOI on an error, the errors are now handled
first.
src/mux_pt.c