summaryrefslogtreecommitdiff
path: root/indra/llmessage/llcircuit.cpp
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/llcircuit.cpp
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/llcircuit.cpp')
-rw-r--r--indra/llmessage/llcircuit.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/llmessage/llcircuit.cpp b/indra/llmessage/llcircuit.cpp
index c2b1a2f069..eaee7b0112 100644
--- a/indra/llmessage/llcircuit.cpp
+++ b/indra/llmessage/llcircuit.cpp
@@ -346,8 +346,7 @@ S32 LLCircuitData::resendUnackedPackets(const F64Seconds now)
packetp->mBuffer[0] |= LL_RESENT_FLAG; // tag packet id as being a resend
- gMessageSystem->mPacketRing.sendPacket(packetp->mSocket,
- (char *)packetp->mBuffer, packetp->mBufferLength,
+ gMessageSystem->sendPacketToSocket((char *)packetp->mBuffer, packetp->mBufferLength,
packetp->mHost);
mThrottles.throttleOverflow(TC_RESEND, packetp->mBufferLength * 8.f);
@@ -973,7 +972,7 @@ bool LLCircuitData::updateWatchDogTimers(LLMessageSystem *msgsys)
{
// let's call this one a loss!
mPacketsLost++;
- gMessageSystem->mDroppedPackets++;
+ gMessageSystem->mLostPackets++;
if(gMessageSystem->mVerboseLog)
{
std::ostringstream str;