Don't send invs to unestablished connections
This commit is contained in:
parent
18988ae2e6
commit
4c17a18006
|
@ -38,6 +38,8 @@ class BMConnectionPool(object):
|
|||
for i in self.inboundConnections.values() + self.outboundConnections.values():
|
||||
if not isinstance(i, network.bmproto.BMProto):
|
||||
continue
|
||||
if not i.fullyEstablished:
|
||||
continue
|
||||
try:
|
||||
del i.objectsNewToMe[hashid]
|
||||
except KeyError:
|
||||
|
|
Loading…
Reference in New Issue
Block a user