Add log entry for peer timeout
*/
if(peer->isTimedOut(m_timeout))
{
- LOG(derr_con<<m_connection->getDesc()
+ errorstream<<m_connection->getDesc()
<<"RunTimeouts(): Peer "<<peer->id
<<" has timed out."
<<" (source=peer->timeout_counter)"
- <<std::endl);
+ <<std::endl;
// Add peer to the list
timeouted_peers.push_back(peer->id);
// Don't bother going through the buffers of this one
}
catch(con::PeerNotFoundException &e)
{
- errorstream<<"Server::ProcessData(): Cancelling: peer "
+ /*
+ * no peer for this packet found
+ * most common reason is peer timeout, e.g. peer didn't
+ * respond for some time, your server was overloaded or
+ * things like that.
+ */
+ infostream<<"Server::ProcessData(): Cancelling: peer "
<<peer_id<<" not found"<<std::endl;
return;
}