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:
@@ -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")
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user