mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 20:14:13 +00:00
Only show peers that we've exchanged a handshake with.
This commit is contained in:
parent
1bf2339b0f
commit
c884142691
@ -238,7 +238,7 @@ class Torrent:
|
||||
|
||||
for peer in peers:
|
||||
# We do not want to report peers that are half-connected
|
||||
if peer.flags & peer.connecting:
|
||||
if peer.flags & peer.connecting or peer.flags & peer.handshake:
|
||||
continue
|
||||
try:
|
||||
client = str(peer.client).decode("utf-8")
|
||||
|
Loading…
x
Reference in New Issue
Block a user