From ea1c232f92549d0282532779169ebf4b1811d0c4 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 21 Aug 2014 00:08:43 +0100 Subject: revert droping udp packet resends after 6 retries, keep resending. --- OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs') diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index bf44152..3b0312d 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs @@ -1207,16 +1207,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP //m_log.DebugFormat("[LLUDPSERVER]: Resending packet #{0} (attempt {1}), {2}ms have passed", // outgoingPacket.SequenceNumber, outgoingPacket.ResendCount, Environment.TickCount - outgoingPacket.TickCount); - // Bump up the resend count on this packet - Interlocked.Increment(ref outgoingPacket.ResendCount); - - // loose packets we retried more than 6 times - // sl says 3 so lets be more tolerant - // we can't not keep hammering with packets a viewer may just beeing ignoring - - if (outgoingPacket.ResendCount > 6) - return; - // Set the resent flag outgoingPacket.Buffer.Data[0] = (byte)(outgoingPacket.Buffer.Data[0] | Helpers.MSG_RESENT); outgoingPacket.Category = ThrottleOutPacketType.Resend; -- cgit v1.1