Fix for sending multiple connections to the same host

This commit is contained in:
TheKysek 2016-07-05 09:12:20 +02:00
parent 74c58f80a1
commit 10ee0deb4b

View File

@ -87,6 +87,7 @@ class Manager(threading.Thread):
continue
c = Connection(addr[0], addr[1])
c.start()
hosts.add(c.host)
with shared.connections_lock:
shared.connections.add(c)