diff options
author | UbitUmarov | 2019-06-13 01:12:47 +0100 |
---|---|---|
committer | UbitUmarov | 2019-06-13 01:12:47 +0100 |
commit | b09ea5bdc7ce657e8f785caf7abd8778a8afb3da (patch) | |
tree | 233c9289921cb304c369143dadf66166c70d0b01 /OpenSim | |
parent | minor cleanup (diff) | |
download | opensim-SC-b09ea5bdc7ce657e8f785caf7abd8778a8afb3da.zip opensim-SC-b09ea5bdc7ce657e8f785caf7abd8778a8afb3da.tar.gz opensim-SC-b09ea5bdc7ce657e8f785caf7abd8778a8afb3da.tar.bz2 opensim-SC-b09ea5bdc7ce657e8f785caf7abd8778a8afb3da.tar.xz |
delay timeout a bit
Diffstat (limited to '')
-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 | } |