diff options
-rw-r--r-- | OpenSim/Region/CoreModules/Agent/Xfer/XferModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Agent/Xfer/XferModule.cs b/OpenSim/Region/CoreModules/Agent/Xfer/XferModule.cs index 32b3523..6157f38 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 | |||
401 | end = LastPacket; | 401 | end = LastPacket; |
402 | while (start <= end) | 402 | while (start <= end) |
403 | SendPacket(start++); | 403 | SendPacket(start++); |
404 | lastACKTimeMS = (int)Util.GetTimeStampMS(); // reset timeout | 404 | lastACKTimeMS = (int)Util.GetTimeStampMS() + 1000; // reset timeout with some slack for queues delays |
405 | } | 405 | } |
406 | 406 | ||
407 | private void SendPacket(int pkt) | 407 | private void SendPacket(int pkt) |
@@ -474,7 +474,7 @@ namespace OpenSim.Region.CoreModules.Agent.Xfer | |||
474 | done(); | 474 | done(); |
475 | else | 475 | else |
476 | { | 476 | { |
477 | burstSize = lastSentPacket - lastAckPacket - 1; | 477 | burstSize = lastSentPacket - lastAckPacket; |
478 | SendBurst(); | 478 | SendBurst(); |
479 | } | 479 | } |
480 | } | 480 | } |