delay timeout a bit
parent
086248c13b
commit
b09ea5bdc7
|
@ -401,7 +401,7 @@ namespace OpenSim.Region.CoreModules.Agent.Xfer
|
||||||
end = LastPacket;
|
end = LastPacket;
|
||||||
while (start <= end)
|
while (start <= end)
|
||||||
SendPacket(start++);
|
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)
|
private void SendPacket(int pkt)
|
||||||
|
@ -474,7 +474,7 @@ namespace OpenSim.Region.CoreModules.Agent.Xfer
|
||||||
done();
|
done();
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
burstSize = lastSentPacket - lastAckPacket - 1;
|
burstSize = lastSentPacket - lastAckPacket;
|
||||||
SendBurst();
|
SendBurst();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue