forked from premiere/premiere-libtorrent
use https
This commit is contained in:
parent
cc8cbcaf9d
commit
45a4da4fe6
|
@ -169,7 +169,7 @@ namespace dht {
|
|||
struct settings : dht_settings
|
||||
{
|
||||
// when this is true, nodes whose IDs are derived from their source IP
|
||||
// according to BEP 42 (http://bittorrent.org/beps/bep_0042.html) are
|
||||
// according to BEP 42 (https://bittorrent.org/beps/bep_0042.html) are
|
||||
// preferred in the routing table.
|
||||
bool prefer_verified_node_ids = true;
|
||||
};
|
||||
|
|
|
@ -55,7 +55,7 @@ namespace libtorrent { namespace dht {
|
|||
// At this moment the library is only a dual stack
|
||||
// implementation of the DHT. See `BEP 32`_
|
||||
//
|
||||
// .. _`BEP 32`: http://bittorrent.org/beps/bep_0032.html
|
||||
// .. _`BEP 32`: https://bittorrent.org/beps/bep_0032.html
|
||||
struct TORRENT_EXPORT dht_state
|
||||
{
|
||||
node_ids_t nids;
|
||||
|
|
|
@ -767,7 +767,7 @@ namespace aux {
|
|||
enable_ip_notifier,
|
||||
|
||||
// when this is true, nodes whose IDs are derived from their source IP
|
||||
// according to BEP 42 (http://bittorrent.org/beps/bep_0042.html) are
|
||||
// according to BEP 42 (https://bittorrent.org/beps/bep_0042.html) are
|
||||
// preferred in the routing table.
|
||||
dht_prefer_verified_node_ids,
|
||||
|
||||
|
|
|
@ -592,7 +592,7 @@ namespace libtorrent {
|
|||
// returns whether or not this is a merkle torrent.
|
||||
// see `BEP 30`__.
|
||||
//
|
||||
// __ http://bittorrent.org/beps/bep_0030.html
|
||||
// __ https://bittorrent.org/beps/bep_0030.html
|
||||
bool is_merkle_torrent() const { return !m_merkle_tree.empty(); }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue