mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Sanity-check reliable packet size at earlier point
This commit is contained in:
parent
5df60d85f7
commit
97066bf795
3 changed files with 25 additions and 18 deletions
|
@ -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")
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue