stream: eos premature close
For writable premature close is close
before finish
, i.e. it should look for finished
instead of ended
. Would be better with a finishEmitted
but we don't have that.
For readable we should be checking endEmitted
(which we do first but not later).
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines