This commit is contained in:
2025-07-08 16:19:39 +06:00
parent b85c242b53
commit 4d23b69ecd
9 changed files with 218 additions and 36 deletions

View File

@@ -188,9 +188,9 @@ protected:
tcp::socket Socket;
static constexpr uint32_t
MAX_SIMPLE_PACKETS = 8192,
MAX_SIMPLE_PACKETS = 16384,
MAX_SMART_PACKETS = MAX_SIMPLE_PACKETS/4,
MAX_PACKETS_SIZE_IN_WAIT = 1 << 24;
MAX_PACKETS_SIZE_IN_WAIT = 1 << 26;
struct AsyncContext {
volatile bool NeedShutdown = false, RunSendShutdowned = false;