From 7fb103d374ea96832c1787406e96500f6cd16a2b Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Tue, 22 Jul 2008 22:21:20 +0000 Subject: Change one packet optimization to cover a case where the resend queue may block indefinitely when a single packet is not acked by the viewer and no others cwfromfor that region are pending. --- OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs index 1ec375f..c4bc6c8 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs @@ -309,8 +309,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP // No need to resend anything. Keep it until it gets stale, // then it will be dropped. // - if (((now - lastAck) > m_SilenceLimit) && - m_NeedAck.Count > 0) + if ((((now - lastAck) > m_SilenceLimit) && + m_NeedAck.Count > 0) || m_NeedAck.Count == 0) { return; } -- cgit v1.1