mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-06 15:14:52 +00:00
Use TCPAbridged (async) connection mode
This commit is contained in:
parent
980807f1de
commit
d5c2ca2e1d
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ class Connection:
|
||||||
4: TCPIntermediateO
|
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.dc_id = dc_id
|
||||||
self.ipv6 = ipv6
|
self.ipv6 = ipv6
|
||||||
self.proxy = proxy
|
self.proxy = proxy
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue