aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-01-17 23:45:25 +0000
committerJustin Clark-Casey (justincc)2011-01-17 23:45:25 +0000
commit81552099d6eaf1142cde4bbe864dfa1e752af5e5 (patch)
tree7a37a0e38912ca7e1eccddbd02e31a7de8690322 /OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC_OLD-81552099d6eaf1142cde4bbe864dfa1e752af5e5.zip
opensim-SC_OLD-81552099d6eaf1142cde4bbe864dfa1e752af5e5.tar.gz
opensim-SC_OLD-81552099d6eaf1142cde4bbe864dfa1e752af5e5.tar.bz2
opensim-SC_OLD-81552099d6eaf1142cde4bbe864dfa1e752af5e5.tar.xz
Fix UnackedBytes client stack statistic as seen in "show queues"
Bytes were being wrongly added again on a resend
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index e54cfc2..fe5156e 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -585,8 +585,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
585 585
586 // Stats tracking 586 // Stats tracking
587 Interlocked.Increment(ref udpClient.PacketsSent); 587 Interlocked.Increment(ref udpClient.PacketsSent);
588 if (isReliable)
589 Interlocked.Add(ref udpClient.UnackedBytes, outgoingPacket.Buffer.DataLength);
590 588
591 // Put the UDP payload on the wire 589 // Put the UDP payload on the wire
592 AsyncBeginSend(buffer); 590 AsyncBeginSend(buffer);