aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs15
1 files changed, 8 insertions, 7 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index a55ce1c..bd67f1e 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -645,23 +645,24 @@ namespace OpenSim.Region.ClientStack.LindenUDP
645 } 645 }
646 } 646 }
647 647
648 /// <summary>
649 /// Main packet processing loop for the UDP component of the client session. Both incoming and outgoing
650 /// packets are processed here.
651 /// </summary>
648 protected virtual void ClientLoop() 652 protected virtual void ClientLoop()
649 { 653 {
650 m_log.Info("[CLIENT]: Entered main packet processing loop"); 654 m_log.DebugFormat(
655 "[CLIENT]: Entered main packet processing loop for {0} {1}", FirstName, LastName);
651 656
652 while (true) 657 while (true)
653 { 658 {
654 LLQueItem nextPacket = m_PacketHandler.PacketQueue.Dequeue(); 659 LLQueItem nextPacket = m_PacketHandler.PacketQueue.Dequeue();
655 if (nextPacket == null) 660
656 {
657 m_log.Error("Got a NULL packet in Client Loop, bailing out of our client loop");
658 break;
659 }
660 if (nextPacket.Incoming) 661 if (nextPacket.Incoming)
661 { 662 {
662 DebugPacket("IN", nextPacket.Packet); 663 DebugPacket("IN", nextPacket.Packet);
663 m_PacketHandler.ProcessInPacket(nextPacket); 664 m_PacketHandler.ProcessInPacket(nextPacket);
664 } 665 }
665 else 666 else
666 { 667 {
667 DebugPacket("OUT", nextPacket.Packet); 668 DebugPacket("OUT", nextPacket.Packet);