Ignore:
Timestamp:
Feb 18, 2011, 12:41:06 AM (11 years ago)
Author:
jordan
Message:

if we successfully finish a handshake using uTP, mark the peer as supporting uTP

File:
1 edited

Legend:

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

    r11937 r11945  
    23772377    tr_timerAdd( m->pexTimer, PEX_INTERVAL_SECS, 0 );
    23782378
     2379    if( tr_peerIoSupportsUTP( peer->io ) ) {
     2380        const tr_address * addr = tr_peerIoGetAddress( peer->io, NULL );
     2381        tr_peerMgrSetUtpSupported( torrent, addr );
     2382    }
     2383
    23792384    if( tr_peerIoSupportsLTEP( peer->io ) )
    23802385        sendLtepHandshake( m );
Note: See TracChangeset for help on using the changeset viewer.