mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Only show peers that we've exchanged a handshake with.
This commit is contained in:
parent
1bf2339b0f
commit
c884142691
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ class Torrent:
|
||||||
|
|
||||||
for peer in peers:
|
for peer in peers:
|
||||||
# We do not want to report peers that are half-connected
|
# 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
|
continue
|
||||||
try:
|
try:
|
||||||
client = str(peer.client).decode("utf-8")
|
client = str(peer.client).decode("utf-8")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue