1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-12-23 23:15:30 +01:00

Do not allocate packet quota to half-open connections

This commit is contained in:
sfan5
2024-01-05 13:54:50 +01:00
parent 3987318f09
commit 050152eb90
4 changed files with 39 additions and 20 deletions

View File

@@ -764,6 +764,8 @@ protected:
return m_peer_ids;
}
u32 getActiveCount();
UDPSocket m_udpSocket;
// Command queue: user -> SendThread
MutexedQueue<ConnectionCommandPtr> m_command_queue;