delay timeout a bit

0.9.1.0-post-fixes
UbitUmarov 2019-06-13 01:12:47 +01:00
parent 086248c13b
commit b09ea5bdc7
1 changed files with 2 additions and 2 deletions

View File

@ -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();
}
}