mirror of
https://github.com/alexbers/mtprotoproxy.git
synced 2026-03-22 10:35:49 +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):
|
def write(self, data):
|
||||||
return self.upstream.write(data)
|
return self.upstream.write(data)
|
||||||
|
|
||||||
|
def write_eof(self):
|
||||||
|
return self.upstream.write_eof()
|
||||||
|
|
||||||
async def drain(self):
|
async def drain(self):
|
||||||
return await self.upstream.drain()
|
return await self.upstream.drain()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user