aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs58
1 files changed, 29 insertions, 29 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
index 7e3d919..9e5eecc 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
@@ -679,37 +679,37 @@ namespace OpenSim.Region.ClientStack.LindenUDP
679 679
680 public void SetClientInfo(ClientInfo info) 680 public void SetClientInfo(ClientInfo info)
681 { 681 {
682 m_PendingAcks = info.pendingAcks; 682 // m_PendingAcks = info.pendingAcks;
683 m_NeedAck = new Dictionary<uint, LLQueItem>(); 683 // m_NeedAck = new Dictionary<uint, LLQueItem>();
684 684
685 Packet packet = null; 685 // Packet packet = null;
686 int packetEnd = 0; 686 // int packetEnd = 0;
687 byte[] zero = new byte[3000]; 687 // byte[] zero = new byte[3000];
688 688
689 foreach (uint key in info.needAck.Keys) 689 // foreach (uint key in info.needAck.Keys)
690 { 690 // {
691 byte[] buff = info.needAck[key]; 691 // byte[] buff = info.needAck[key];
692 packetEnd = buff.Length - 1; 692 // packetEnd = buff.Length - 1;
693 693
694 try 694 // try
695 { 695 // {
696 packet = PacketPool.Instance.GetPacket(buff, ref packetEnd, zero); 696 // packet = PacketPool.Instance.GetPacket(buff, ref packetEnd, zero);
697 } 697 // }
698 catch (Exception) 698 // catch (Exception)
699 { 699 // {
700 } 700 // }
701 701
702 LLQueItem item = new LLQueItem(); 702 // LLQueItem item = new LLQueItem();
703 item.Packet = packet; 703 // item.Packet = packet;
704 item.Incoming = false; 704 // item.Incoming = false;
705 item.throttleType = 0; 705 // item.throttleType = 0;
706 item.TickCount = Environment.TickCount; 706 // item.TickCount = Environment.TickCount;
707 item.Identifier = 0; 707 // item.Identifier = 0;
708 item.Resends = 0; 708 // item.Resends = 0;
709 item.Length = packet.Length; 709 // item.Length = packet.Length;
710 item.Sequence = packet.Header.Sequence; 710 // item.Sequence = packet.Header.Sequence;
711 m_NeedAck.Add(key, item); 711 // m_NeedAck.Add(key, item);
712 } 712 // }
713 713
714 m_Sequence = info.sequence; 714 m_Sequence = info.sequence;
715 715