Ignore:
Timestamp:
Feb 24, 2011, 1:50:35 AM (11 years ago)
Author:
jordan
Message:

(trunk libT) if we're a partial seed and the peer has everything we have, disconnect.

File:
1 edited

Legend:

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

    r12015 r12019  
    31103110    /* if we're seeding and the peer has everything we have,
    31113111     * and enough time has passed for a pex exchange, then disconnect */
    3112     if( tr_torrentIsSeed( tor ) && ( peer->progress >= 1.0f ) )
     3112    if( tr_torrentIsSeed( tor ) && tr_bitsetHasSet( &peer->have, tr_cpBlockBitset( &tor->completion ) ) )
    31133113        return !tr_torrentAllowsPex(tor) || (now-atom->time>=30);
    31143114
Note: See TracChangeset for help on using the changeset viewer.