mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Fix UnackedBytes client stack statistic as seen in "show queues"
Bytes were being wrongly added again on a resend
This commit is contained in:
@@ -585,8 +585,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
|
||||
// Stats tracking
|
||||
Interlocked.Increment(ref udpClient.PacketsSent);
|
||||
if (isReliable)
|
||||
Interlocked.Add(ref udpClient.UnackedBytes, outgoingPacket.Buffer.DataLength);
|
||||
|
||||
// Put the UDP payload on the wire
|
||||
AsyncBeginSend(buffer);
|
||||
|
||||
Reference in New Issue
Block a user