aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.cs
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/ClientStack/ClientView.cs
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/ClientStack/ClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs
index 5e0ab65..df52745 100644
--- a/OpenSim/Region/ClientStack/ClientView.cs
+++ b/OpenSim/Region/ClientStack/ClientView.cs
@@ -209,8 +209,8 @@ namespace OpenSim.Region.ClientStack
209 m_scene.RemoveClient(AgentId); 209 m_scene.RemoveClient(AgentId);
210 210
211 // Send the STOP packet 211 // Send the STOP packet
212 //libsecondlife.Packets.DisableSimulatorPacket disable = new libsecondlife.Packets.DisableSimulatorPacket(); 212 DisableSimulatorPacket disable = new DisableSimulatorPacket();
213 //OutPacket(disable, ThrottleOutPacketType.Task); 213 OutPacket(disable, ThrottleOutPacketType.Task);
214 214
215 // FLUSH Packets 215 // FLUSH Packets
216 m_packetQueue.Close(); 216 m_packetQueue.Close();
@@ -225,6 +225,10 @@ namespace OpenSim.Region.ClientStack
225 // This is just to give the client a reasonable chance of 225 // This is just to give the client a reasonable chance of
226 // flushing out all it's packets. There should probably 226 // flushing out all it's packets. There should probably
227 // be a better mechanism here 227 // be a better mechanism here
228
229 // We can't reach into other scenes and close the connection
230 // We need to do this over grid communications
231 m_scene.CloseAllAgents(CircuitCode);
228 232
229 m_clientThread.Abort(); 233 m_clientThread.Abort();
230 } 234 }