mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-02 14:12:18 +00:00
* Refactor `InboundSubstreamState` to implement `Stream` This allows us to use `stream::SelectAll` instead of iterating through the states ourselves. It also allows us to fix an existing TODO where we don't properly close a stream. * Refactor `OutboundSubstreamState` to implement `Stream` * Remove unnecessary keep_alive changes The same thing is happening further down. * Remove code duplication in answering requests * Debug assert that we can answer every request