Skip to content

Commit

Permalink
4.13.3 fix relay bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-X-Net committed Nov 16, 2022
1 parent 2d65a9a commit bcebc9c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/default/launcher/download_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def download_worker():


def start_download():
# time.sleep(10)
time.sleep(150)
th = threading.Thread(target=download_worker)
th.start()
return True
2 changes: 1 addition & 1 deletion code/default/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.13.2
4.13.3
3 changes: 2 additions & 1 deletion code/default/x_tunnel/local/tls_relay_front/ip_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ def get_ip(self):
return None

ip = random.choice(ips)
return ip + ":443"
port = self.host_manager.info[ip].get("port", 443)
return ip + ":" + str(port)

def report_connect_fail(self, ip_str, reason=""):
ip = ip_str.split(":")[0]
Expand Down

0 comments on commit bcebc9c

Please sign in to comment.