Fix TLS handshake failure

This commit is contained in:
TheKysek 2017-06-09 21:06:29 +02:00
parent 1a3e340537
commit 244d076cab
No known key found for this signature in database
GPG Key ID: 50D9AF00D0B1C497
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class Listener(threading.Thread):
if len(shared.connections) > shared.connection_limit:
conn.close()
else:
c = Connection(addr[0], addr[1], conn, True)
c = Connection(addr[0], addr[1], conn, 'ip', True)
c.start()
shared.connections.add(c)
except socket.timeout: