Ignore:
Timestamp:
Jan 30, 2006, 1:58:27 AM (16 years ago)
Author:
titer
Message:

Rewrote rate control, background work for the download limit, the dl/ul
limits per torrent and for the choking algorithm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peerutils.h

    r26 r60  
    166166            /* He doesn't need us */
    167167            sendChoke( peer, 1 );
    168             tr_uploadChoked( tor->upload );
    169         }
    170         if( peer->amChoking && peer->peerInterested &&
    171             !peer->outSlow && tr_uploadCanUnchoke( tor->upload ) )
     168            //tr_uploadChoked( tor->upload );
     169        }
     170        if( peer->amChoking && peer->peerInterested /* &&
     171            !peer->outSlow && tr_uploadCanUnchoke( tor->upload ) */ )
    172172        {
    173173            sendChoke( peer, 0 );
    174             tr_uploadUnchoked( tor->upload );
     174            //tr_uploadUnchoked( tor->upload );
    175175        }
    176176    }
Note: See TracChangeset for help on using the changeset viewer.