Changeset 12108


Ignore:
Timestamp:
Mar 6, 2011, 11:49:40 PM (11 years ago)
Author:
jordan
Message:

experimental fix for #4084

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.c

    r12096 r12108  
    31373137    /* if we're seeding and the peer has everything we have,
    31383138     * and enough time has passed for a pex exchange, then disconnect */
    3139     if( tr_torrentIsSeed( tor ) && tr_bitsetHasSet( &peer->have, tr_cpBlockBitset( &tor->completion ) ) )
     3139    if( tr_torrentIsSeed( tor ) && ( peer->progress >= 1.0f ) )
    31403140        return !tr_torrentAllowsPex(tor) || (now-atom->time>=30);
    31413141
Note: See TracChangeset for help on using the changeset viewer.