Fix for sending multiple connections to the same host
This commit is contained in:
parent
74c58f80a1
commit
10ee0deb4b
|
@ -87,6 +87,7 @@ class Manager(threading.Thread):
|
||||||
continue
|
continue
|
||||||
c = Connection(addr[0], addr[1])
|
c = Connection(addr[0], addr[1])
|
||||||
c.start()
|
c.start()
|
||||||
|
hosts.add(c.host)
|
||||||
with shared.connections_lock:
|
with shared.connections_lock:
|
||||||
shared.connections.add(c)
|
shared.connections.add(c)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user