delay timeout a bit
parent
086248c13b
commit
b09ea5bdc7
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue