Changeset 9366 for branches


Ignore:
Timestamp:
Oct 22, 2009, 2:50:59 AM (13 years ago)
Author:
charles
Message:

(1.7x) backports for 1.76: r9353 #2510 Port message never sent to outgoing peer connections

Location:
branches/1.7x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.7x/NEWS

    r9365 r9366  
    33  * Fix possible dataloss when trying to move torrents to where they already are
    44  * Fix manpage errors
     5  * Fix minor protocol error that didn't send a port message to some peers
    56  * Use automake's "quieter builds" rule when available
    67==== Daemon ====
  • branches/1.7x/libtransmission/handshake.c

    r8889 r9366  
    313313    tr_peerIoEnableFEXT( handshake->io, HANDSHAKE_HAS_FASTEXT( reserved ) );
    314314
    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 */
    316317    if( tor && tr_sessionAllowsDHT( tor->session ) )
    317318        tr_peerIoEnableDHT( handshake->io, HANDSHAKE_HAS_DHT( reserved ) );
     
    674675
    675676    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 ) );
    676682
    677683    /* torrent hash */
Note: See TracChangeset for help on using the changeset viewer.