test: Extend malformed packet test to actually check that a valid packet can get through after the malformed ones have been sent

This commit is contained in:
Justin Clarke Casey
2008-10-30 22:32:23 +00:00
parent 419775c72b
commit 5feaff8524
8 changed files with 140 additions and 23 deletions

View File

@@ -91,12 +91,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests
}
/// <summary>
/// Calls the protected asynchronous result method
/// Calls the protected asynchronous result method. This fires out all data chunks currently queued for send
/// </summary>
/// <param name="result"></param>
public void ReceiveData(IAsyncResult result)
{
OnReceivedData(result);
while (m_chunksToLoad.Count > 0)
OnReceivedData(result);
}
/// <summary>