mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-13 01:51:23 +00:00
Signal the end of stream as `None` instead of producing a broken pipe error. This restores the behaviour prior to PR #1196. I could not find a motivation for this particular change in the PR and the previous implementation looks correct to me.