ThreadPoolClientBranch
parent
5dd741267e
commit
29c869fd33
|
@ -2372,10 +2372,21 @@ namespace OpenSim.Region.ClientStack
|
|||
lock (m_needAck)
|
||||
{
|
||||
foreach (PacketAckPacket.PacketsBlock block in ackPacket.Packets)
|
||||
{
|
||||
if (m_needAck.ContainsKey(block.ID))
|
||||
{
|
||||
try
|
||||
{
|
||||
m_unAckedBytes -= m_needAck[block.ID].ToBytes().Length;
|
||||
m_needAck.Remove(block.ID);
|
||||
}
|
||||
catch (System.Collections.Generic.KeyNotFoundException)
|
||||
{
|
||||
// Did another packet come in with the ack already?
|
||||
// apparently so!
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else if ((NewPack.Type == PacketType.StartPingCheck))
|
||||
|
|
Loading…
Reference in New Issue