syncing changes from ballistica/master

This commit is contained in:
Ayush Saini 2025-02-09 00:17:58 +05:30
parent 2a07c0c840
commit 8913080562
227 changed files with 15756 additions and 12772 deletions

View file

@ -180,6 +180,7 @@ class RPCEndpoint:
reader: asyncio.StreamReader,
writer: asyncio.StreamWriter,
label: str,
*,
debug_print: bool = False,
debug_print_io: bool = False,
debug_print_call: Callable[[str], None] | None = None,
@ -426,6 +427,7 @@ class RPCEndpoint:
bytes_awaitable: asyncio.Task[bytes],
message_id: int,
) -> bytes:
# pylint: disable=too-many-positional-arguments
# We need to know their protocol, so if we haven't gotten a handshake
# from them yet, just wait.
while self._peer_info is None: