use https

This commit is contained in:
Chocobo1 2020-01-26 12:17:21 +08:00 committed by Arvid Norberg
parent cc8cbcaf9d
commit 45a4da4fe6
4 changed files with 4 additions and 4 deletions

View File

@ -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;
};

View File

@ -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;

View File

@ -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,

View File

@ -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: