Show
Ignore:
Timestamp:
05/05/08 15:16:26 (4 years ago)
Author:
rakshasa
Message:

* Initial seeding support added. Patch by Josef Drexler.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/libtorrent/src/protocol/handshake_manager.cc

    r1010 r1058  
    195195      // We need to make libtorrent more selective in the clients it 
    196196      // connects to, and to move this somewhere else. 
    197       (!download->file_list()->is_done() || !handshake->bitfield()->is_all_set()) && 
     197      (!download->file_list()->is_done() || !handshake->bitfield()->is_all_set() || download->initial_seeding() != NULL) && 
    198198 
    199199      (pcb = download->connection_list()->insert(handshake->peer_info(),