Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpc stream: do not abort stream queue if stream connection was closed…
… without error queue::abort() drops all queued packets and report an error to a consumer. If stream connection completes normally we want the consumer to get all the data without errors, so abort the queue only in case of an error. Otherwise the queue will wait to be consumed. Since closing the stream involves sending a special EOS packet the consumer should not hang since the queue will not be empty. Fixes: #2612 Message-Id: <[email protected]>
- Loading branch information