Fix TLS handshake failure
This commit is contained in:
parent
1a3e340537
commit
244d076cab
|
@ -31,7 +31,7 @@ class Listener(threading.Thread):
|
||||||
if len(shared.connections) > shared.connection_limit:
|
if len(shared.connections) > shared.connection_limit:
|
||||||
conn.close()
|
conn.close()
|
||||||
else:
|
else:
|
||||||
c = Connection(addr[0], addr[1], conn, True)
|
c = Connection(addr[0], addr[1], conn, 'ip', True)
|
||||||
c.start()
|
c.start()
|
||||||
shared.connections.add(c)
|
shared.connections.add(c)
|
||||||
except socket.timeout:
|
except socket.timeout:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user