removed out dated comments
This commit is contained in:
@@ -1306,10 +1306,6 @@ namespace libtorrent
|
|||||||
m_statistics.received_bytes(0, bytes_transferred);
|
m_statistics.received_bytes(0, bytes_transferred);
|
||||||
if (!packet_finished()) break;
|
if (!packet_finished()) break;
|
||||||
|
|
||||||
// the use of this bit collides with Mainline
|
|
||||||
// the new way of identifying support for the extensions
|
|
||||||
// is in the peer_id
|
|
||||||
|
|
||||||
// MassaRoddel
|
// MassaRoddel
|
||||||
#ifdef TORRENT_VERBOSE_LOGGING
|
#ifdef TORRENT_VERBOSE_LOGGING
|
||||||
for (int i=0; i < 8; ++i)
|
for (int i=0; i < 8; ++i)
|
||||||
|
@@ -479,7 +479,6 @@ namespace libtorrent { namespace detail
|
|||||||
{
|
{
|
||||||
*i = printable[rand() % (sizeof(printable)-1)];
|
*i = printable[rand() % (sizeof(printable)-1)];
|
||||||
}
|
}
|
||||||
// this says that we support the extensions
|
|
||||||
|
|
||||||
m_timer.expires_from_now(seconds(1));
|
m_timer.expires_from_now(seconds(1));
|
||||||
m_timer.async_wait(bind(&session_impl::second_tick, this, _1));
|
m_timer.async_wait(bind(&session_impl::second_tick, this, _1));
|
||||||
@@ -1180,9 +1179,6 @@ namespace libtorrent
|
|||||||
assert(i < num_supported_extensions);
|
assert(i < num_supported_extensions);
|
||||||
session_impl::mutex_t::scoped_lock l(m_impl.m_mutex);
|
session_impl::mutex_t::scoped_lock l(m_impl.m_mutex);
|
||||||
m_impl.m_extension_enabled[i] = true;
|
m_impl.m_extension_enabled[i] = true;
|
||||||
|
|
||||||
// // this says that we support the extensions
|
|
||||||
// std::memcpy(&m_impl.m_peer_id[17], "ext", 3);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<torrent_handle> session::get_torrents()
|
std::vector<torrent_handle> session::get_torrents()
|
||||||
|
Reference in New Issue
Block a user