introduce new, optional, get_peers mechanism that is more privacy preserving (doesn't leak the info-hash to as many DHT nodes)
This commit is contained in:
@@ -1541,6 +1541,10 @@ int main(int argc, char* argv[])
|
||||
}
|
||||
|
||||
#ifndef TORRENT_DISABLE_DHT
|
||||
dht_settings dht;
|
||||
dht.privacy_lookups = true;
|
||||
ses.set_dht_settings(dht);
|
||||
|
||||
if (start_dht)
|
||||
{
|
||||
settings.use_dht_as_fallback = false;
|
||||
|
Reference in New Issue
Block a user