aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-01-12 18:45:03 +0000
committerJustin Clarke Casey2009-01-12 18:45:03 +0000
commitd4d2c1959481d6d5e04a646c0b34f954b1bc727d (patch)
tree1fc9425201a226b77805a4709200f5ded14738e4 /OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
parent* Apply http://opensimulator.org/mantis/view.php?id=2913 (diff)
downloadopensim-SC-d4d2c1959481d6d5e04a646c0b34f954b1bc727d.zip
opensim-SC-d4d2c1959481d6d5e04a646c0b34f954b1bc727d.tar.gz
opensim-SC-d4d2c1959481d6d5e04a646c0b34f954b1bc727d.tar.bz2
opensim-SC-d4d2c1959481d6d5e04a646c0b34f954b1bc727d.tar.xz
* Extend PacketHandlerTest to fire in a packet.
* Can't test result yet since the Client thread handles it with unpredictable timing
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
index 7b102ec..97d75e1 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
@@ -524,7 +524,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
524 else if (packet.Type == PacketType.StartPingCheck) 524 else if (packet.Type == PacketType.StartPingCheck)
525 { 525 {
526 StartPingCheckPacket startPing = (StartPingCheckPacket)packet; 526 StartPingCheckPacket startPing = (StartPingCheckPacket)packet;
527 CompletePingCheckPacket endPing = (CompletePingCheckPacket)PacketPool.Instance.GetPacket(PacketType.CompletePingCheck); 527 CompletePingCheckPacket endPing
528 = (CompletePingCheckPacket)PacketPool.Instance.GetPacket(PacketType.CompletePingCheck);
528 529
529 endPing.PingID.PingID = startPing.PingID.PingID; 530 endPing.PingID.PingID = startPing.PingID.PingID;
530 OutPacket(endPing, ThrottleOutPacketType.Task); 531 OutPacket(endPing, ThrottleOutPacketType.Task);