Changeset 12377


Ignore:
Timestamp:
Apr 20, 2011, 11:17:10 PM (11 years ago)
Author:
jordan
Message:

(trunk daemon) #2338 "Add uTP support" -- added er13's patch from comment:115 to add uTP enable/disable commands to transmission-remote. Thanks er13!

Location:
trunk/daemon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/daemon.c

    r12223 r12377  
    110110    { 'y', "lpd", "Enable local peer discovery (LPD)", "y", 0, NULL },
    111111    { 'Y', "no-lpd", "Disable local peer discovery (LPD)", "Y", 0, NULL },
     112    { 830, "utp", "Enable uTP for peer connections", NULL, 0, NULL },
     113    { 831, "no-utp", "Disable uTP for peer connections", NULL, 0, NULL },
    112114    { 'P', "peerport", "Port for incoming peers (Default: " TR_DEFAULT_PEER_PORT_STR ")", "P", 1, "<port>" },
    113115    { 'm', "portmap", "Enable portmapping via NAT-PMP or UPnP", "m", 0, NULL },
     
    445447            case 812: tr_bencDictAddInt( &settings,  TR_PREFS_KEY_MSGLEVEL, TR_MSG_DBG );
    446448                      break;
     449            case 830: tr_bencDictAddBool( &settings, TR_PREFS_KEY_UTP_ENABLED, true );
     450                      break;
     451            case 831: tr_bencDictAddBool( &settings, TR_PREFS_KEY_UTP_ENABLED, false );
     452                      break;
    447453            default:  showUsage( );
    448454                      break;
  • trunk/daemon/transmission-daemon.1

    r11626 r12377  
    2525.Op Fl L Ar limit
    2626.Op Fl er | ep | et
     27.Op Fl utp | no-utp
    2728.Op Fl V
    2829.Op Fl w Ar download-dir
     
    115116.It Fl V Fl -version
    116117Show version number and exit
     118.It Fl -utp
     119Enable uTP for peer connections.
     120.It Fl -no-utp
     121Disable uTP for peer connections.
    117122.It Fl w Fl -download-dir
    118123Where to store downloaded data.
Note: See TracChangeset for help on using the changeset viewer.