From 273b4fae0cc622551f1899b9beb69f106eda53cf Mon Sep 17 00:00:00 2001 From: Alexander Bersenev Date: Tue, 5 Jun 2018 15:15:52 +0500 Subject: [PATCH] comment out ipv6 in middle-proxies --- mtprotoproxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mtprotoproxy.py b/mtprotoproxy.py index 2b04bea..5b76cf6 100755 --- a/mtprotoproxy.py +++ b/mtprotoproxy.py @@ -476,7 +476,7 @@ async def do_middleproxy_handshake(dc_idx): SENDER_PID = b"IPIPPRPDTIME" PEER_PID = b"IPIPPRPDTIME" - if PREFER_IPV6: + if False and PREFER_IPV6: # commented out because they aren't work yet if not 0 <= dc_idx < len(TG_MIDDLE_PROXIES_V6): return False addr, port = TG_MIDDLE_PROXIES_V6[dc_idx]