Use TCPAbridged (async) connection mode

This commit is contained in:
Dan 2018-10-08 20:18:20 +02:00
parent 980807f1de
commit d5c2ca2e1d

View File

@ -36,7 +36,7 @@ class Connection:
4: TCPIntermediateO
}
def __init__(self, dc_id: int, test_mode: bool, ipv6: bool, proxy: dict, mode: int = 2):
def __init__(self, dc_id: int, test_mode: bool, ipv6: bool, proxy: dict, mode: int = 1):
self.dc_id = dc_id
self.ipv6 = ipv6
self.proxy = proxy