From 45a4da4fe6f32a8fe24795175abe5dfd0d9021cf Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sun, 26 Jan 2020 12:17:21 +0800 Subject: [PATCH] use https --- include/libtorrent/kademlia/dht_settings.hpp | 2 +- include/libtorrent/kademlia/dht_state.hpp | 2 +- include/libtorrent/settings_pack.hpp | 2 +- include/libtorrent/torrent_info.hpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/libtorrent/kademlia/dht_settings.hpp b/include/libtorrent/kademlia/dht_settings.hpp index f1232edb3..1e4c5656f 100644 --- a/include/libtorrent/kademlia/dht_settings.hpp +++ b/include/libtorrent/kademlia/dht_settings.hpp @@ -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; }; diff --git a/include/libtorrent/kademlia/dht_state.hpp b/include/libtorrent/kademlia/dht_state.hpp index 66639e8e0..8a24b01ad 100644 --- a/include/libtorrent/kademlia/dht_state.hpp +++ b/include/libtorrent/kademlia/dht_state.hpp @@ -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; diff --git a/include/libtorrent/settings_pack.hpp b/include/libtorrent/settings_pack.hpp index ab915a638..a53a294d5 100644 --- a/include/libtorrent/settings_pack.hpp +++ b/include/libtorrent/settings_pack.hpp @@ -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, diff --git a/include/libtorrent/torrent_info.hpp b/include/libtorrent/torrent_info.hpp index 70f856ab9..2f42edf50 100644 --- a/include/libtorrent/torrent_info.hpp +++ b/include/libtorrent/torrent_info.hpp @@ -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: