mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
In `_handle_new_streams`, when the underlying muxed conn is unavailable, close `SwarmConn` itself right away, to reset all the streams. Therefore, the stream processed by `_handle_muxed_stream` are conscious of the fact that they are reset. It allows a more graceful clean up.