Ignore:
Timestamp:
Jun 18, 2009, 8:33:04 PM (13 years ago)
Author:
charles
Message:

(trunk libT) #2225: support supportcypto and requirecrypto flags in http tracker announces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tracker.c

    r8672 r8718  
    755755                              "&left=%" PRIu64
    756756                              "&compact=1"
     757                              "&supportcrypto=1"
    757758                              "&numwant=%d"
    758759                              "&key=%s",
     
    767768                              numwant,
    768769                              t->key_param );
     770
     771    if( t->session->encryptionMode == TR_ENCRYPTION_REQUIRED )
     772        evbuffer_add_printf( buf, "&requirecrypto=1" );
    769773
    770774    if( eventName && *eventName )
Note: See TracChangeset for help on using the changeset viewer.