forked from premiere/premiere-libtorrent
*** empty log message ***
This commit is contained in:
parent
903e11e458
commit
926e6551c1
|
@ -375,7 +375,7 @@ namespace libtorrent
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
tcp::resolver::query q(*connect_to_host, 0);
|
tcp::resolver::query q(*connect_to_host, "0");
|
||||||
m_name_lookup.async_resolve(q
|
m_name_lookup.async_resolve(q
|
||||||
, boost::bind(&http_tracker_connection::name_lookup, self(), _1, _2));
|
, boost::bind(&http_tracker_connection::name_lookup, self(), _1, _2));
|
||||||
set_timeout(m_settings.tracker_completion_timeout
|
set_timeout(m_settings.tracker_completion_timeout
|
||||||
|
|
|
@ -955,7 +955,7 @@ namespace libtorrent
|
||||||
= parse_url_components(url);
|
= parse_url_components(url);
|
||||||
|
|
||||||
m_resolving_web_seeds.insert(url);
|
m_resolving_web_seeds.insert(url);
|
||||||
tcp::resolver::query q(hostname, 0);
|
tcp::resolver::query q(hostname, "0");
|
||||||
|
|
||||||
m_host_resolver.async_resolve(q, bind(&torrent::on_name_lookup
|
m_host_resolver.async_resolve(q, bind(&torrent::on_name_lookup
|
||||||
, shared_from_this(), _1, _2, port, url));
|
, shared_from_this(), _1, _2, port, url));
|
||||||
|
|
|
@ -90,7 +90,7 @@ namespace libtorrent
|
||||||
, m_attempts(0)
|
, m_attempts(0)
|
||||||
{
|
{
|
||||||
m_socket.reset(new datagram_socket(d));
|
m_socket.reset(new datagram_socket(d));
|
||||||
tcp::resolver::query q(hostname, 0);
|
tcp::resolver::query q(hostname, "0");
|
||||||
m_name_lookup.async_resolve(q
|
m_name_lookup.async_resolve(q
|
||||||
, boost::bind(&udp_tracker_connection::name_lookup, self(), _1, _2));
|
, boost::bind(&udp_tracker_connection::name_lookup, self(), _1, _2));
|
||||||
set_timeout(m_settings.tracker_completion_timeout
|
set_timeout(m_settings.tracker_completion_timeout
|
||||||
|
|
Loading…
Reference in New Issue