diff options
author | Justin Clarke Casey | 2008-10-30 22:32:23 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-10-30 22:32:23 +0000 |
commit | 5feaff8524845d3475c02d1ba96465925e65e34a (patch) | |
tree | 0a74b46b64e56ee924e59077276b8fa7f2b63a19 /OpenSim/Framework | |
parent | * test: Test that the client stack doesn't completely blow up if a client pas... (diff) | |
download | opensim-SC-5feaff8524845d3475c02d1ba96465925e65e34a.zip opensim-SC-5feaff8524845d3475c02d1ba96465925e65e34a.tar.gz opensim-SC-5feaff8524845d3475c02d1ba96465925e65e34a.tar.bz2 opensim-SC-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')
-rw-r--r-- | OpenSim/Framework/ClientManager.cs | 2 |
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); |