Changeset 10158


Ignore:
Timestamp:
Feb 11, 2010, 12:43:47 AM (12 years ago)
Author:
charles
Message:

(trunk libT) re-add the supportcrypto, requirecrypto announce arguments that were removed during announce testing in r10090

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/announcer.c

    r10155 r10158  
    659659    const unsigned char * ipv6;
    660660
     661    evbuffer_expand( buf, 2048 );
     662
    661663    evbuffer_add_printf( buf, "%s"
    662664                              "%c"
     
    669671                              "&numwant=%d"
    670672                              "&key=%s"
    671                               "&compact=1",
     673                              "&compact=1"
     674                              "&supportcrypto=1",
    672675                              ann,
    673676                              strchr( ann, '?' ) ? '&' : '?',
     
    680683                              numwant,
    681684                              tracker->key_param );
     685
     686    if( announcer->session->encryptionMode == TR_ENCRYPTION_REQUIRED )
     687        evbuffer_add_printf( buf, "&requirecrypto=1" );
    682688
    683689    if( tier->byteCounts[TR_ANN_CORRUPT] )
Note: See TracChangeset for help on using the changeset viewer.