mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 12:59:46 +00:00
Add support for proxy again
This commit is contained in:
@@ -9,8 +9,8 @@ class ConnectionTcpAbridged(Connection):
|
||||
only require 1 byte if the packet length is less than
|
||||
508 bytes (127 << 2, which is very common).
|
||||
"""
|
||||
async def connect(self, timeout=None):
|
||||
await super().connect(timeout=timeout)
|
||||
async def connect(self, timeout=None, ssl=None):
|
||||
await super().connect(timeout=timeout, ssl=ssl)
|
||||
await self.send(b'\xef')
|
||||
|
||||
def _write(self, data):
|
||||
|
Reference in New Issue
Block a user