adjust v4-v6 allocation, default back to localhost

This commit is contained in:
Concedo 2024-08-04 11:42:16 +08:00
parent 40481abf0c
commit bfdf4b021f
2 changed files with 5 additions and 5 deletions

View file

@ -2056,7 +2056,7 @@ def RunServerMultiThreaded(addr, port):
if ipv6_sock:
ipv6_sock = context.wrap_socket(ipv6_sock, server_side=True)
numThreads = 20
numThreads = 22
ipv4_sock.bind((addr, port))
ipv4_sock.listen(numThreads)
if ipv6_sock: