1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-30 20:53:45 +01:00

Sanity-check reliable packet size at earlier point

This commit is contained in:
sfan5
2024-03-23 17:16:21 +01:00
parent 5df60d85f7
commit 97066bf795
3 changed files with 25 additions and 18 deletions

View File

@@ -796,7 +796,7 @@ void ConnectionSendThread::sendAsPacket(session_t peer_id, u8 channelnum,
m_outgoing_queue.push(packet);
}
ConnectionReceiveThread::ConnectionReceiveThread(unsigned int max_packet_size) :
ConnectionReceiveThread::ConnectionReceiveThread() :
Thread("ConnectionReceive")
{
}