*** empty log message ***
This commit is contained in:
@@ -1834,9 +1834,7 @@ namespace libtorrent
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// the connection cannot time out while connecting
|
if (m_disconnecting) return;
|
||||||
// so we don't need to check m_disconnecting
|
|
||||||
assert(m_disconnecting == false);
|
|
||||||
m_last_receive = second_clock::universal_time();
|
m_last_receive = second_clock::universal_time();
|
||||||
|
|
||||||
// this means the connection just succeeded
|
// this means the connection just succeeded
|
||||||
@@ -1884,7 +1882,12 @@ namespace libtorrent
|
|||||||
m_write_pos += bytes_transferred;
|
m_write_pos += bytes_transferred;
|
||||||
|
|
||||||
if (error)
|
if (error)
|
||||||
|
{
|
||||||
|
#ifdef TORRENT_VERBOSE_LOGGING
|
||||||
|
(*m_logger) << "**ERROR**: " << error.what() << "\n";
|
||||||
|
#endif
|
||||||
throw std::runtime_error(error.what());
|
throw std::runtime_error(error.what());
|
||||||
|
}
|
||||||
if (m_disconnecting) return;
|
if (m_disconnecting) return;
|
||||||
|
|
||||||
assert(!m_connecting);
|
assert(!m_connecting);
|
||||||
|
Reference in New Issue
Block a user