mirror of
https://github.com/alexbers/mtprotoproxy.git
synced 2026-03-13 23:03:09 +00:00
fixed cached readings in fake tls
This commit is contained in:
@@ -371,7 +371,7 @@ class FakeTLSStreamReader(LayeredStreamReaderBase):
|
||||
if self.buf and not ignore_buf:
|
||||
data = self.buf
|
||||
self.buf = bytearray()
|
||||
return data
|
||||
return bytes(data)
|
||||
|
||||
while True:
|
||||
tls_rec_type = await self.upstream.readexactly(1)
|
||||
|
||||
Reference in New Issue
Block a user