mirror of
https://github.com/transmission/transmission
synced 2025-02-21 13:46:52 +00:00
Don't propagate information about ut_holepunch over PEX.
It's not useful, says Greg.
This commit is contained in:
parent
c9c2ad7c57
commit
e35d1aacaf
1 changed files with 0 additions and 6 deletions
|
@ -939,12 +939,6 @@ parseLtepHandshake( tr_peermsgs * msgs,
|
|||
msgs->ut_metadata_id = (uint8_t) i;
|
||||
dbgmsg( msgs, "msgs->ut_metadata_id is %d", (int)msgs->ut_metadata_id );
|
||||
}
|
||||
/* We don't support ut_holepunch yet, but we might as well
|
||||
propagate this information over PEX. */
|
||||
if( tr_bencDictFindInt( sub, "ut_holepunch", &i ) ) {
|
||||
if( i != 0 )
|
||||
pex.flags |= ADDED_F_HOLEPUNCH;
|
||||
}
|
||||
}
|
||||
|
||||
/* look for metainfo size (BEP 9) */
|
||||
|
|
Loading…
Reference in a new issue