py-libp2p/libp2p
mhchia 13930ae718
SwarmConn: perform close right away
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.
2020-02-04 22:51:21 +08:00
..
crypto Mock dependencies that are excluded in readthedocs 2019-11-27 14:07:14 -08:00
host Ping protocol: move with statement out of try 2020-02-04 15:09:42 +08:00
identity Handle StreamClosed in identify protocol handler 2019-11-16 16:56:58 +08:00
io Don't catch trio.BusyResourceError 2020-01-26 23:09:56 +08:00
network SwarmConn: perform close right away 2020-02-04 22:51:21 +08:00
peer Fix examples and modify new_node 2019-12-24 18:03:18 +08:00
protocol_muxer A mux can provide the protocols it responds to 2019-11-06 11:41:27 -08:00
pubsub Add checkpoints in PubsubNotifee 2020-02-04 17:45:37 +08:00
routing Remove kademlia module (#377) 2019-12-06 14:14:33 +08:00
security Change default value of read() 2020-01-26 23:03:38 +08:00
stream_muxer Mplex: catch RawConnError when writing 2020-02-04 21:57:59 +08:00
tools Fix: StreamReset in the stream handlers 2020-02-04 20:46:40 +08:00
transport Add comment for serve_tcp 2020-02-04 17:45:56 +08:00
__init__.py PR feedback: async with host.run() 2020-01-26 16:44:42 +08:00
exceptions.py fixes #384 2019-12-17 12:00:11 +01:00
typing.py Use ReadWriteCloser for conns and streams 2019-09-05 23:24:17 +08:00
utils.py Fix Mplex and Swarm 2019-11-29 19:09:56 +08:00