Add TCPAbridgedO to Connection modes

This commit is contained in:
Dan 2018-05-29 12:20:42 +02:00
parent 0866dfa1dd
commit 55010e4f1f

View File

@ -31,7 +31,8 @@ class Connection:
MODES = { MODES = {
0: TCPFull, 0: TCPFull,
1: TCPAbridged, 1: TCPAbridged,
2: TCPIntermediate 2: TCPIntermediate,
3: TCPAbridgedO
} }
def __init__(self, address: tuple, proxy: dict, mode: int = 1): def __init__(self, address: tuple, proxy: dict, mode: int = 1):