Merge remote-tracking branch 'origin/main' into fix_multiselect_negotiate_type

This commit is contained in:
unniznd
2025-08-25 21:07:49 +05:30
51 changed files with 2927 additions and 86 deletions

View File

@ -298,6 +298,13 @@ class BasicHost(IHost):
)
await net_stream.reset()
return
if protocol is None:
logger.debug(
"no protocol negotiated, closing stream from peer %s",
net_stream.muxed_conn.peer_id,
)
await net_stream.reset()
return
net_stream.set_protocol(protocol)
if handler is None:
logger.debug(