Add support for the MSE Tracker Extension (suggested by barry_u and persept)

This commit is contained in:
Charles Kerr 2007-10-20 20:27:37 +00:00
parent 197e94910f
commit 8d4ff5818c
2 changed files with 4 additions and 0 deletions

1
NEWS
View File

@ -5,6 +5,7 @@ NEWS file for Transmission <http://transmission.m0k.org/>
- Ban peers that send too much bad data
- Only report downloaded, verified good pieces in tracker `download' field
- Improved compliance with BitTorrent spec
- MSE Tracker Extension support
- Significant rewrite of the libtransmission back-end
- OS X:
+ Per-torrent action menu

View File

@ -626,6 +626,8 @@ buildTrackerRequestURI( const tr_tracker * t,
"&compact=1"
"&numwant=%d"
"&key=%s"
"&supportcrypto=1"
"&requirecrypto=%d"
"%s%s"
"%s%s",
getCurrentAddress(t)->announce,
@ -638,6 +640,7 @@ buildTrackerRequestURI( const tr_tracker * t,
tr_cpLeftUntilComplete( torrent->completion ),
numwant,
t->key_param,
( t->handle->encryptionMode==TR_ENCRYPTION_REQUIRED ? 1 : 0 ),
( ( eventName && *eventName ) ? "&event=" : "" ),
( ( eventName && *eventName ) ? eventName : "" ),
( ( t->trackerID && *t->trackerID ) ? "&trackerid=" : "" ),