aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/PacketServer.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/PacketServer.cs
parentMake region storage Sqlite by default rather than NullStorage (diff)
downloadopensim-SC_OLD-afe63faa2ee9cbdb8a8e0ee755a4d5ef06fe770b.zip
opensim-SC_OLD-afe63faa2ee9cbdb8a8e0ee755a4d5ef06fe770b.tar.gz
opensim-SC_OLD-afe63faa2ee9cbdb8a8e0ee755a4d5ef06fe770b.tar.bz2
opensim-SC_OLD-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/PacketServer.cs')
-rw-r--r--OpenSim/Region/ClientStack/PacketServer.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/PacketServer.cs b/OpenSim/Region/ClientStack/PacketServer.cs
index 39c3d32..308728e 100644
--- a/OpenSim/Region/ClientStack/PacketServer.cs
+++ b/OpenSim/Region/ClientStack/PacketServer.cs
@@ -123,13 +123,16 @@ namespace OpenSim.Region.ClientStack
123 /// <param name="circuitcode"></param> 123 /// <param name="circuitcode"></param>
124 public virtual void CloseCircuit(uint circuitcode) 124 public virtual void CloseCircuit(uint circuitcode)
125 { 125 {
126 OpenSim.Framework.Console.MainLog.Instance.Debug("PACKETSERVER", "Removing Circuit Code");
126 m_networkHandler.RemoveClientCircuit(circuitcode); 127 m_networkHandler.RemoveClientCircuit(circuitcode);
127 m_scene.ClientManager.CloseAllAgents(circuitcode); 128 OpenSim.Framework.Console.MainLog.Instance.Debug("PACKETSERVER", "Removed Circuit Code");
129 //m_scene.ClientManager.CloseAllAgents(circuitcode);
128 } 130 }
129 131
130 public virtual void CloseClient(IClientAPI client) 132 public virtual void CloseClient(IClientAPI client)
131 { 133 {
132 CloseCircuit(client.CircuitCode); 134 CloseCircuit(client.CircuitCode);
135 client.Close();
133 } 136 }
134 } 137 }
135} 138}