force proxy no longer disables the DHT

This commit is contained in:
arvidn 2018-08-19 10:33:02 +02:00 committed by Arvid Norberg
parent 6620b6e774
commit c9043dec53
3 changed files with 2 additions and 6 deletions

View File

@ -1,3 +1,4 @@
* force-proxy no longer disables DHT
* improve connect-boost feature, to make new torrents quickly connect peers
1.1.9 release

View File

@ -609,9 +609,7 @@ namespace libtorrent
// proxy_type and proxy_hostname settings. The listen sockets are
// closed, and incoming connections will only be accepted through a
// SOCKS5 or I2P proxy (if a peer proxy is set up and is run on the
// same machine as the tracker proxy). This setting also disabled peer
// country lookups, since those are done via DNS lookups that aren't
// supported by proxies.
// same machine as the tracker proxy).
force_proxy,
// if false, prevents libtorrent to advertise share-mode support

View File

@ -6526,9 +6526,6 @@ retry:
stop_lsd();
stop_upnp();
stop_natpmp();
#ifndef TORRENT_DISABLE_DHT
stop_dht();
#endif
}
#ifndef TORRENT_NO_DEPRECATE