From 740a9a737459db137628813f76d0a2c16c5d2896 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Thu, 24 Jul 2008 15:52:36 +0000 Subject: Thank you, Neopallium, for a patch that addresses ack issues in the client stack. Committed with changes, see Mantis #1810 for details. --- OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs index 3cfc478..eaff5a4 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs @@ -256,6 +256,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP if (count > 10) count = 10; packet.Header.AckList = new uint[count]; + packet.Header.AppendedAcks = true; int i = 0; @@ -527,7 +528,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP { // Always ack the packet! // - AckPacket(packet); + if (packet.Header.Reliable) + AckPacket(packet); if (packet.Type != PacketType.AgentUpdate) m_PacketsReceived++; -- cgit v1.1