Changeset 3263


Ignore:
Timestamp:
Oct 1, 2007, 6:09:59 PM (14 years ago)
Author:
charles
Message:

more agressive purging of connections that give socket errors

File:
1 edited

Legend:

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

    r3262 r3263  
    15401540        assert( atom != NULL );
    15411541
    1542         /* if we're both seeds, give a little bit of time for
    1543          * a mutual pex -- peer-msgs initiates a pex exchange
    1544          * on startup -- and then disconnect */
    1545         if( peerIsSeed && clientIsSeed && (now-atom->time >= 30) )
     1542        if( peer->doPurge )
     1543            isWeak = TRUE;
     1544        if( peerIsSeed && clientIsSeed && (now-atom->time >= 30) ) /* pex time */
    15461545            isWeak = TRUE;
    15471546        else if( ( now - atom->time ) < LAISSEZ_FAIRE_PERIOD_SECS )
Note: See TracChangeset for help on using the changeset viewer.