Closed flukschander closed 3 years ago
we need to have tests for this
we need to have tests for this
@vietj Sorry for that. Added a few tests
@vietj did you have time to review yet?
not yet, but it's on my todo list :-)
fixed as requested
done
can you provide a backport PR to 4.1 branch @flukschander ?
Motivation:
Currently in ReadStreamSubscriber#asReadStream the given Observable/Flowable is directly subscribed to which leads to an IllegalStateException should it only deliver an exception or is empty. This change will subscribe to the give Observable/Flowable only on a call to ReadStreamSubscriber#handler which also conforms better to the ReadStream specification as it should only start to deliver elements as a handler is set.