mirror of
https://github.com/alexbers/mtprotoproxy.git
synced 2026-03-13 23:03:09 +00:00
fix lack of write_eof method
Bug was hidden by exception handling
This commit is contained in:
@@ -149,6 +149,9 @@ class LayeredStreamWriterBase:
|
||||
def write(self, data):
|
||||
return self.upstream.write(data)
|
||||
|
||||
def write_eof(self):
|
||||
return self.upstream.write_eof()
|
||||
|
||||
async def drain(self):
|
||||
return await self.upstream.drain()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user