mirror of
https://github.com/transmission/transmission
synced 2025-02-20 13:16:53 +00:00
experimental fix for #4084
This commit is contained in:
parent
9145bce9cd
commit
c9897ff97a
1 changed files with 1 additions and 1 deletions
|
@ -3136,7 +3136,7 @@ shouldPeerBeClosed( const Torrent * t,
|
|||
|
||||
/* if we're seeding and the peer has everything we have,
|
||||
* and enough time has passed for a pex exchange, then disconnect */
|
||||
if( tr_torrentIsSeed( tor ) && tr_bitsetHasSet( &peer->have, tr_cpBlockBitset( &tor->completion ) ) )
|
||||
if( tr_torrentIsSeed( tor ) && ( peer->progress >= 1.0f ) )
|
||||
return !tr_torrentAllowsPex(tor) || (now-atom->time>=30);
|
||||
|
||||
/* disconnect if it's been too long since piece data has been transferred.
|
||||
|
|
Loading…
Reference in a new issue