mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 13:29:47 +00:00
Fix alternative connection modes
This commit is contained in:
@@ -11,7 +11,8 @@ class ConnectionTcpAbridged(Connection):
|
||||
"""
|
||||
async def connect(self, timeout=None, ssl=None):
|
||||
await super().connect(timeout=timeout, ssl=ssl)
|
||||
await self.send(b'\xef')
|
||||
self._writer.write(b'\xef')
|
||||
await self._writer.drain()
|
||||
|
||||
def _write(self, data):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user