Merge branch 'main' into chore-02

This commit is contained in:
Manu Sheel Gupta
2025-09-02 03:40:02 +05:30
committed by GitHub
30 changed files with 1669 additions and 424 deletions

View File

@ -85,7 +85,9 @@ class MuxerMultistream:
else:
protocol, _ = await self.multiselect.negotiate(communicator)
if protocol is None:
raise MultiselectError("fail to negotiate a stream muxer protocol")
raise MultiselectError(
"Fail to negotiate a stream muxer protocol: no protocol selected"
)
return self.transports[protocol]
async def new_conn(self, conn: ISecureConn, peer_id: ID) -> IMuxedConn: