diff options
author | Justin Clarke Casey | 2008-10-06 19:52:54 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-10-06 19:52:54 +0000 |
commit | cb7a9eaa09fba301ba6b6838cb9e3cedfc29a32a (patch) | |
tree | f4f8c4f3b849f35e4a4e56d05740ad19651d4a71 /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | cleaning up OSHttpRequest removing old Http stuff. also adding test (diff) | |
download | opensim-SC_OLD-cb7a9eaa09fba301ba6b6838cb9e3cedfc29a32a.zip opensim-SC_OLD-cb7a9eaa09fba301ba6b6838cb9e3cedfc29a32a.tar.gz opensim-SC_OLD-cb7a9eaa09fba301ba6b6838cb9e3cedfc29a32a.tar.bz2 opensim-SC_OLD-cb7a9eaa09fba301ba6b6838cb9e3cedfc29a32a.tar.xz |
* Stop the sim stats reporter reusing the same SimStatsPacket for all clients
* I believe this was the cause of the remaining packet_out_of_order messages in the Linden client logs
* There were race conditions where multiple clientstacks would overwrite each other's sequence numbers
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index bf1dbcd..da6da1e 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -837,14 +837,14 @@ namespace OpenSim.Region.Environment.Scenes | |||
837 | } | 837 | } |
838 | } | 838 | } |
839 | 839 | ||
840 | private void SendSimStatsPackets(SimStatsPacket pack) | 840 | private void SendSimStatsPackets(SimStats stats) |
841 | { | 841 | { |
842 | List<ScenePresence> StatSendAgents = GetScenePresences(); | 842 | List<ScenePresence> StatSendAgents = GetScenePresences(); |
843 | foreach (ScenePresence agent in StatSendAgents) | 843 | foreach (ScenePresence agent in StatSendAgents) |
844 | { | 844 | { |
845 | if (!agent.IsChildAgent) | 845 | if (!agent.IsChildAgent) |
846 | { | 846 | { |
847 | agent.ControllingClient.SendSimStats(pack); | 847 | agent.ControllingClient.SendSimStats(stats); |
848 | } | 848 | } |
849 | } | 849 | } |
850 | } | 850 | } |