aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
authorTeravus Ovares2007-12-18 00:34:42 +0000
committerTeravus Ovares2007-12-18 00:34:42 +0000
commitafe63faa2ee9cbdb8a8e0ee755a4d5ef06fe770b (patch)
tree4db7cf33153bb97ae87d009590947ab487f28173 /OpenSim/Region/Environment
parentMake region storage Sqlite by default rather than NullStorage (diff)
downloadopensim-SC-afe63faa2ee9cbdb8a8e0ee755a4d5ef06fe770b.zip
opensim-SC-afe63faa2ee9cbdb8a8e0ee755a4d5ef06fe770b.tar.gz
opensim-SC-afe63faa2ee9cbdb8a8e0ee755a4d5ef06fe770b.tar.bz2
opensim-SC-afe63faa2ee9cbdb8a8e0ee755a4d5ef06fe770b.tar.xz
* Fix for mantis 0000040 After client logout remote host closed connection on Simulator makes sim unuseable->'Closed Connection Called'
* I've fundamentally changed a few things, so this is experimental * The routine that I used needs to be tested on Linux. I don't expect it to cause a problem, but hey, it might. * Child agents are still not logged off properly, so when the first set time out, the second set get logged off also, on the second log in if the second login is initiated before the first one fully times out.
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs5
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneBase.cs2
2 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 1145b00..bfdf517 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1243,7 +1243,12 @@ namespace OpenSim.Region.Environment.Scenes
1243 // Remove client agent from profile, so new logins will work 1243 // Remove client agent from profile, so new logins will work
1244 CommsManager.UserService.clearUserAgent(agentID); 1244 CommsManager.UserService.clearUserAgent(agentID);
1245 } 1245 }
1246 public override void CloseAllAgents(uint circuitcode)
1247 {
1248 // Called by ClientView to kill all circuit codes
1249 ClientManager.CloseAllAgents(circuitcode);
1246 1250
1251 }
1247 public void NotifyMyCoarseLocationChange() 1252 public void NotifyMyCoarseLocationChange()
1248 { 1253 {
1249 ForEachScenePresence(delegate(ScenePresence presence) { presence.CoarseLocationChange(); }); 1254 ForEachScenePresence(delegate(ScenePresence presence) { presence.CoarseLocationChange(); });
diff --git a/OpenSim/Region/Environment/Scenes/SceneBase.cs b/OpenSim/Region/Environment/Scenes/SceneBase.cs
index 75118e2..35d88eb 100644
--- a/OpenSim/Region/Environment/Scenes/SceneBase.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneBase.cs
@@ -130,6 +130,8 @@ namespace OpenSim.Region.Environment.Scenes
130 /// <param name="agentID"></param> 130 /// <param name="agentID"></param>
131 public abstract void RemoveClient(LLUUID agentID); 131 public abstract void RemoveClient(LLUUID agentID);
132 132
133 public abstract void CloseAllAgents(uint circuitcode);
134
133 #endregion 135 #endregion
134 136
135 /// <summary> 137 /// <summary>