removed debug output that was left in by mistake in last check in
This commit is contained in:
parent
728b0f219b
commit
3f38e4c38d
|
@ -897,7 +897,6 @@ namespace libtorrent
|
||||||
assert(c.remote() == c.get_socket()->sender());
|
assert(c.remote() == c.get_socket()->sender());
|
||||||
peer p(c.remote(), peer::not_connectable);
|
peer p(c.remote(), peer::not_connectable);
|
||||||
m_peers.push_back(p);
|
m_peers.push_back(p);
|
||||||
check_invariant();
|
|
||||||
i = m_peers.end()-1;
|
i = m_peers.end()-1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -882,13 +882,11 @@ namespace libtorrent { namespace detail
|
||||||
p->first->sender()
|
p->first->sender()
|
||||||
, p->second->id()
|
, p->second->id()
|
||||||
, "connection attempt failed"));
|
, "connection attempt failed"));
|
||||||
// TODO: TEMP!
|
|
||||||
#warning TEMP!
|
#if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING)
|
||||||
std::ofstream log("connect.log", std::ios::app);
|
(*m_logger) << boost::posix_time::microsec_clock::universal_time() << " FAILED: "
|
||||||
log << boost::posix_time::microsec_clock::universal_time() << " FAILED: "
|
|
||||||
<< (*i)->sender().as_string() << std::endl;
|
<< (*i)->sender().as_string() << std::endl;
|
||||||
|
#endif
|
||||||
|
|
||||||
p->second->set_failed();
|
p->second->set_failed();
|
||||||
m_half_open.erase(p);
|
m_half_open.erase(p);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue