mirror of
https://github.com/tiennm99/mtprotoproxy.git
synced 2026-10-19 22:15:20 +00:00
revert the last commit
This commit is contained in:
1 parent
accba06b45
commit
ed088d9449
1 file changed
+2
-2
+2
-2
@@ -745,6 +745,8 @@ async def handle_client(reader_clt, writer_clt):
|
|||||||
|
|
||||||
reader_clt, writer_clt, proto_tag, user, dc_idx, enc_key_and_iv = clt_data
|
reader_clt, writer_clt, proto_tag, user, dc_idx, enc_key_and_iv = clt_data
|
||||||
|
|
||||||
|
update_stats(user, connects=1)
|
||||||
|
|
||||||
if not USE_MIDDLE_PROXY:
|
if not USE_MIDDLE_PROXY:
|
||||||
if FAST_MODE:
|
if FAST_MODE:
|
||||||
tg_data = await do_direct_handshake(proto_tag, dc_idx, dec_key_and_iv=enc_key_and_iv)
|
tg_data = await do_direct_handshake(proto_tag, dc_idx, dec_key_and_iv=enc_key_and_iv)
|
||||||
@@ -757,8 +759,6 @@ async def handle_client(reader_clt, writer_clt):
|
|||||||
if not tg_data:
|
if not tg_data:
|
||||||
return
|
return
|
||||||
|
|
||||||
update_stats(user, connects=1)
|
|
||||||
|
|
||||||
reader_tg, writer_tg = tg_data
|
reader_tg, writer_tg = tg_data
|
||||||
|
|
||||||
if not USE_MIDDLE_PROXY and FAST_MODE:
|
if not USE_MIDDLE_PROXY and FAST_MODE:
|
||||||
|
|||||||
Reference in new issue
Block a user