mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Record number of resent packets in LindenUDP stack and display in stats report
This commit is contained in:
@@ -506,7 +506,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
|
||||
// Bump up the resend count on this packet
|
||||
Interlocked.Increment(ref outgoingPacket.ResendCount);
|
||||
//Interlocked.Increment(ref Stats.ResentPackets);
|
||||
|
||||
// Requeue or resend the packet
|
||||
if (!outgoingPacket.Client.EnqueueOutgoing(outgoingPacket, false))
|
||||
@@ -582,6 +581,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
udpClient.NeedAcks.Add(outgoingPacket);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Interlocked.Increment(ref udpClient.PacketsResent);
|
||||
}
|
||||
|
||||
#endregion Sequence Number Assignment
|
||||
|
||||
|
||||
Reference in New Issue
Block a user