Changeset 3322
- Timestamp:
- Oct 8, 2007, 1:53:11 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/peer-mgr.c
r3321 r3322 1048 1048 continue; 1049 1049 1050 peer->doPurge = 1;1051 1050 atom = getExistingAtom( t, &peer->in_addr ); 1052 1051 atom->myflags |= MYFLAG_BANNED; 1052 peer->doPurge = 1; 1053 1053 tordbg( t, "banning peer %s due to corrupt data", tr_peerIoAddrStr(&atom->addr,atom->port) ); 1054 1054 } … … 1511 1511 assert( atom != NULL ); 1512 1512 1513 if( throughput >= 3 ) 1513 if( peer->doPurge ) 1514 isWeak = TRUE; 1515 else if( throughput >= 3 ) 1514 1516 isWeak = FALSE; 1515 else if( peer->doPurge )1516 isWeak = TRUE;1517 1517 else if( peerIsSeed && clientIsSeed ) 1518 1518 isWeak = t->tor->pexDisabled || (now-atom->time>=30);
Note: See TracChangeset
for help on using the changeset viewer.