mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-11 07:30:55 +00:00
Fix Pubsub
This commit is contained in:
@ -281,7 +281,7 @@ class Mplex(IMuxedConn, Service):
|
||||
mplex_stream = await self._initialize_stream(stream_id, message.decode())
|
||||
try:
|
||||
await self.new_stream_send_channel.send(mplex_stream)
|
||||
except (trio.BrokenResourceError, trio.EndOfChannel):
|
||||
except (trio.BrokenResourceError, trio.ClosedResourceError):
|
||||
raise MplexUnavailable
|
||||
|
||||
async def _handle_message(self, stream_id: StreamID, message: bytes) -> None:
|
||||
|
||||
Reference in New Issue
Block a user