Changeset 3769


Ignore:
Timestamp:
Nov 9, 2007, 3:19:12 PM (15 years ago)
Author:
charles
Message:

don't let incoming peer connections sneak past MAX_CONNECTED_PEERS_PER_TORRENT.

File:
1 edited

Legend:

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

    r3758 r3769  
    933933            tr_peerIoFree( io );
    934934        }
     935        else if( tr_ptrArraySize( t->peers ) >= MAX_CONNECTED_PEERS_PER_TORRENT )
     936        {
     937            tr_peerIoFree( io );
     938        }
    935939        else
    936940        {
Note: See TracChangeset for help on using the changeset viewer.