summaryrefslogtreecommitdiff
path: root/indra/llmessage/llpacketbuffer.h
diff options
context:
space:
mode:
authorAndrew Meadows <leviathan@lindenlab.com>2026-05-27 10:18:29 -0700
committerGitHub <noreply@github.com>2026-05-27 10:18:29 -0700
commita1b68fb8ed6c2589dd13bd9ba1fab7050ba38226 (patch)
tree0a86659664208322ac0953e17470133541c91b10 /indra/llmessage/llpacketbuffer.h
parentf99e2233a40e3a7b88e6c54aa89a1bc0bcd76456 (diff)
Drop fewer packets on UDP packet flood (#5565)
* ACK received-but-unprocessed packets when queued * Prioritize packets between high- and low-priority (high-priority are: reliable packets that need an ACK) * Increase max size of LLPacketRing buffer
Diffstat (limited to 'indra/llmessage/llpacketbuffer.h')
-rw-r--r--indra/llmessage/llpacketbuffer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llmessage/llpacketbuffer.h b/indra/llmessage/llpacketbuffer.h
index ac4012d330..b0505e7afd 100644
--- a/indra/llmessage/llpacketbuffer.h
+++ b/indra/llmessage/llpacketbuffer.h
@@ -38,6 +38,9 @@ public:
LLPacketBuffer(S32 hSocket); // receive a packet
~LLPacketBuffer();
+ LLPacketBuffer(const LLPacketBuffer&) = default;
+ LLPacketBuffer& operator=(const LLPacketBuffer&) = default;
+
S32 getSize() const { return mSize; }
const char *getData() const { return mData; }
LLHost getHost() const { return mHost; }