Changeset 9366 for branches/1.7x/libtransmission/handshake.c
- Timestamp:
- Oct 22, 2009, 2:50:59 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.7x/libtransmission/handshake.c
r8889 r9366 313 313 tr_peerIoEnableFEXT( handshake->io, HANDSHAKE_HAS_FASTEXT( reserved ) ); 314 314 315 /* This doesn't depend on whether the torrent is private. */ 315 /* This is independent of whether or not DHT is actually used. 316 * it's okay to set this flag even for private torrents */ 316 317 if( tor && tr_sessionAllowsDHT( tor->session ) ) 317 318 tr_peerIoEnableDHT( handshake->io, HANDSHAKE_HAS_DHT( reserved ) ); … … 674 675 675 676 tr_peerIoEnableFEXT( handshake->io, HANDSHAKE_HAS_FASTEXT( reserved ) ); 677 678 /* This is independent of whether or not DHT is actually used. 679 * it's okay to set this flag even for private torrents */ 680 if( tr_sessionAllowsDHT( handshake->session ) ) 681 tr_peerIoEnableDHT( handshake->io, HANDSHAKE_HAS_DHT( reserved ) ); 676 682 677 683 /* torrent hash */
Note: See TracChangeset
for help on using the changeset viewer.