aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.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/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.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/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs
index 95ee516..dd7afd3 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs
@@ -91,12 +91,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests
91 } 91 }
92 92
93 /// <summary> 93 /// <summary>
94 /// Calls the protected asynchronous result method 94 /// Calls the protected asynchronous result method. This fires out all data chunks currently queued for send
95 /// </summary> 95 /// </summary>
96 /// <param name="result"></param> 96 /// <param name="result"></param>
97 public void ReceiveData(IAsyncResult result) 97 public void ReceiveData(IAsyncResult result)
98 { 98 {
99 OnReceivedData(result); 99 while (m_chunksToLoad.Count > 0)
100 OnReceivedData(result);
100 } 101 }
101 102
102 /// <summary> 103 /// <summary>