mirror of
https://github.com/tiennm99/mtprotoproxy.git
synced 2026-10-03 07:13:22 +00:00
fixed cached readings in fake tls
This commit is contained in:
1 parent
48330f1e8a
commit
53184470e9
1 file changed
+1
-1
+1
-1
@@ -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