mirror of
https://github.com/alexbers/mtprotoproxy.git
synced 2026-03-13 23:03:09 +00:00
ignore all new rpc calls instead of closing connection
This commit is contained in:
@@ -891,7 +891,7 @@ class ProxyReqStreamReader(LayeredStreamReaderBase):
|
|||||||
return b"", {"SKIP_SEND": True}
|
return b"", {"SKIP_SEND": True}
|
||||||
|
|
||||||
print_err("unknown rpc ans type:", ans_type)
|
print_err("unknown rpc ans type:", ans_type)
|
||||||
return b""
|
return b"", {"SKIP_SEND": True}
|
||||||
|
|
||||||
|
|
||||||
class ProxyReqStreamWriter(LayeredStreamWriterBase):
|
class ProxyReqStreamWriter(LayeredStreamWriterBase):
|
||||||
|
|||||||
Reference in New Issue
Block a user