aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs4
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs32
2 files changed, 18 insertions, 18 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index efc910a..a7dd35a 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -79,7 +79,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
79 private bool m_clientBlocked = false; 79 private bool m_clientBlocked = false;
80 80
81 private int m_probesWithNoIngressPackets = 0; 81 private int m_probesWithNoIngressPackets = 0;
82 private int m_lastPacketsReceived = 0; 82 //private int m_lastPacketsReceived = 0;
83 private byte[] ZeroOutBuffer = new byte[4096]; 83 private byte[] ZeroOutBuffer = new byte[4096];
84 84
85 private readonly LLUUID m_agentId; 85 private readonly LLUUID m_agentId;
@@ -245,7 +245,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
245 private SetScriptRunning handlerSetScriptRunning = null; 245 private SetScriptRunning handlerSetScriptRunning = null;
246 private UpdateVector handlerAutoPilotGo = null; 246 private UpdateVector handlerAutoPilotGo = null;
247 247
248 private TerrainUnacked handlerUnackedTerrain = null; 248 //private TerrainUnacked handlerUnackedTerrain = null;
249 249
250 //** 250 //**
251 251
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
index eaff5a4..186dd84 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
@@ -137,7 +137,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
137 // 137 //
138 private Dictionary<uint, int> m_DupeTracker = 138 private Dictionary<uint, int> m_DupeTracker =
139 new Dictionary<uint, int>(); 139 new Dictionary<uint, int>();
140 private uint m_DupeTrackerWindow = 30; 140 //private uint m_DupeTrackerWindow = 30;
141 141
142 // Values for the SimStatsReporter 142 // Values for the SimStatsReporter
143 // 143 //
@@ -450,21 +450,21 @@ namespace OpenSim.Region.ClientStack.LindenUDP
450 // We can't keep an unlimited record of dupes. This will prune the 450 // We can't keep an unlimited record of dupes. This will prune the
451 // dictionary by age. 451 // dictionary by age.
452 // 452 //
453 private void PruneDupeTracker() 453// private void PruneDupeTracker()
454 { 454// {
455 lock (m_DupeTracker) 455// lock (m_DupeTracker)
456 { 456// {
457 Dictionary<uint, int> packs = 457// Dictionary<uint, int> packs =
458 new Dictionary<uint, int>(m_DupeTracker); 458// new Dictionary<uint, int>(m_DupeTracker);
459 459//
460 foreach (uint pack in packs.Keys) 460// foreach (uint pack in packs.Keys)
461 { 461// {
462 if (Util.UnixTimeSinceEpoch() - m_DupeTracker[pack] > 462// if (Util.UnixTimeSinceEpoch() - m_DupeTracker[pack] >
463 m_DupeTrackerWindow) 463// m_DupeTrackerWindow)
464 m_DupeTracker.Remove(pack); 464// m_DupeTracker.Remove(pack);
465 } 465// }
466 } 466// }
467 } 467// }
468 468
469 public void InPacket(Packet packet) 469 public void InPacket(Packet packet)
470 { 470 {