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
|
struct settings : dht_settings
|
||||||
{
|
{
|
||||||
// when this is true, nodes whose IDs are derived from their source IP
|
// 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.
|
// preferred in the routing table.
|
||||||
bool prefer_verified_node_ids = true;
|
bool prefer_verified_node_ids = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -55,7 +55,7 @@ namespace libtorrent { namespace dht {
|
||||||
// At this moment the library is only a dual stack
|
// At this moment the library is only a dual stack
|
||||||
// implementation of the DHT. See `BEP 32`_
|
// 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
|
struct TORRENT_EXPORT dht_state
|
||||||
{
|
{
|
||||||
node_ids_t nids;
|
node_ids_t nids;
|
||||||
|
|
|
@ -767,7 +767,7 @@ namespace aux {
|
||||||
enable_ip_notifier,
|
enable_ip_notifier,
|
||||||
|
|
||||||
// when this is true, nodes whose IDs are derived from their source IP
|
// 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.
|
// preferred in the routing table.
|
||||||
dht_prefer_verified_node_ids,
|
dht_prefer_verified_node_ids,
|
||||||
|
|
||||||
|
|
|
@ -592,7 +592,7 @@ namespace libtorrent {
|
||||||
// returns whether or not this is a merkle torrent.
|
// returns whether or not this is a merkle torrent.
|
||||||
// see `BEP 30`__.
|
// 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(); }
|
bool is_merkle_torrent() const { return !m_merkle_tree.empty(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue