From 8f48e9ef658c1ffd4024ce19b578d49d417d343e Mon Sep 17 00:00:00 2001 From: Alexander Bersenev Date: Thu, 27 Feb 2020 19:17:15 +0500 Subject: [PATCH] fix the missing constant --- mtprotoproxy.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mtprotoproxy.py b/mtprotoproxy.py index 8367f1a..f1954c3 100755 --- a/mtprotoproxy.py +++ b/mtprotoproxy.py @@ -994,6 +994,7 @@ def gen_x25519_public_key(): async def connect_reader_to_writer(reader, writer): + BUF_SIZE = 8192 try: while True: data = await reader.read(BUF_SIZE)