From b09ea5bdc7ce657e8f785caf7abd8778a8afb3da Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 13 Jun 2019 01:12:47 +0100 Subject: [PATCH] delay timeout a bit --- OpenSim/Region/CoreModules/Agent/Xfer/XferModule.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/CoreModules/Agent/Xfer/XferModule.cs b/OpenSim/Region/CoreModules/Agent/Xfer/XferModule.cs index 32b3523a9f..6157f38103 100644 --- a/OpenSim/Region/CoreModules/Agent/Xfer/XferModule.cs +++ b/OpenSim/Region/CoreModules/Agent/Xfer/XferModule.cs @@ -401,7 +401,7 @@ namespace OpenSim.Region.CoreModules.Agent.Xfer end = LastPacket; while (start <= end) SendPacket(start++); - lastACKTimeMS = (int)Util.GetTimeStampMS(); // reset timeout + lastACKTimeMS = (int)Util.GetTimeStampMS() + 1000; // reset timeout with some slack for queues delays } private void SendPacket(int pkt) @@ -474,7 +474,7 @@ namespace OpenSim.Region.CoreModules.Agent.Xfer done(); else { - burstSize = lastSentPacket - lastAckPacket - 1; + burstSize = lastSentPacket - lastAckPacket; SendBurst(); } }