mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Reduce log level for incoming crap packets
Add log entry for peer timeout
This commit is contained in:
@@ -1328,7 +1328,13 @@ void Server::ProcessData(u8 *data, u32 datasize, u16 peer_id)
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user