aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/ClientManager.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-10-30 22:32:23 +0000
committerJustin Clarke Casey2008-10-30 22:32:23 +0000
commit5feaff8524845d3475c02d1ba96465925e65e34a (patch)
tree0a74b46b64e56ee924e59077276b8fa7f2b63a19 /OpenSim/Framework/ClientManager.cs
parent* test: Test that the client stack doesn't completely blow up if a client pas... (diff)
downloadopensim-SC_OLD-5feaff8524845d3475c02d1ba96465925e65e34a.zip
opensim-SC_OLD-5feaff8524845d3475c02d1ba96465925e65e34a.tar.gz
opensim-SC_OLD-5feaff8524845d3475c02d1ba96465925e65e34a.tar.bz2
opensim-SC_OLD-5feaff8524845d3475c02d1ba96465925e65e34a.tar.xz
test: Extend malformed packet test to actually check that a valid packet can get through after the malformed ones have been sent
Diffstat (limited to 'OpenSim/Framework/ClientManager.cs')
-rw-r--r--OpenSim/Framework/ClientManager.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Framework/ClientManager.cs b/OpenSim/Framework/ClientManager.cs
index 4ac9b3c..3f83f5c 100644
--- a/OpenSim/Framework/ClientManager.cs
+++ b/OpenSim/Framework/ClientManager.cs
@@ -97,8 +97,10 @@ namespace OpenSim.Framework
97 { 97 {
98 IClientAPI client; 98 IClientAPI client;
99 bool tryGetRet = false; 99 bool tryGetRet = false;
100
100 lock (m_clients) 101 lock (m_clients)
101 tryGetRet = m_clients.TryGetValue(circuitCode, out client); 102 tryGetRet = m_clients.TryGetValue(circuitCode, out client);
103
102 if (tryGetRet) 104 if (tryGetRet)
103 { 105 {
104 client.InPacket(packet); 106 client.InPacket(packet);