From a978eae92239460eab319e884f7a26a162bab510 Mon Sep 17 00:00:00 2001 From: Alexander Bersenev Date: Mon, 20 Feb 2023 14:37:16 +0500 Subject: [PATCH] ignore all new rpc calls instead of closing connection --- mtprotoproxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mtprotoproxy.py b/mtprotoproxy.py index e2c3b45..1ed3728 100755 --- a/mtprotoproxy.py +++ b/mtprotoproxy.py @@ -891,7 +891,7 @@ class ProxyReqStreamReader(LayeredStreamReaderBase): return b"", {"SKIP_SEND": True} print_err("unknown rpc ans type:", ans_type) - return b"" + return b"", {"SKIP_SEND": True} class ProxyReqStreamWriter(LayeredStreamWriterBase):