hmph: missing '{'/'}', thx to nebadon for reporting it and rob smart
for spotting it!0.6.6-post-fixes
parent
74f7b586d3
commit
e2db6c07ba
|
@ -396,9 +396,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
if (m_PendingAcks.Count < 250)
|
if (m_PendingAcks.Count < 250)
|
||||||
{
|
{
|
||||||
if (!m_PendingAcksMap.ContainsKey(packet.Header.Sequence))
|
if (!m_PendingAcksMap.ContainsKey(packet.Header.Sequence))
|
||||||
|
{
|
||||||
m_PendingAcks.Add(packet.Header.Sequence);
|
m_PendingAcks.Add(packet.Header.Sequence);
|
||||||
m_PendingAcksMap.Add(packet.Header.Sequence,
|
m_PendingAcksMap.Add(packet.Header.Sequence,
|
||||||
packet.Header.Sequence);
|
packet.Header.Sequence);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -413,9 +415,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
if (m_PendingAcks.Count < 250)
|
if (m_PendingAcks.Count < 250)
|
||||||
{
|
{
|
||||||
if (!m_PendingAcksMap.ContainsKey(packet.Header.Sequence))
|
if (!m_PendingAcksMap.ContainsKey(packet.Header.Sequence))
|
||||||
|
{
|
||||||
m_PendingAcks.Add(packet.Header.Sequence);
|
m_PendingAcks.Add(packet.Header.Sequence);
|
||||||
m_PendingAcksMap.Add(packet.Header.Sequence,
|
m_PendingAcksMap.Add(packet.Header.Sequence,
|
||||||
packet.Header.Sequence);
|
packet.Header.Sequence);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -587,9 +591,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
{
|
{
|
||||||
m_UnackedBytes = (-1 * m_UnackedBytes);
|
m_UnackedBytes = (-1 * m_UnackedBytes);
|
||||||
SendPacketStats();
|
SendPacketStats();
|
||||||
|
lock (m_NeedAck)
|
||||||
|
{
|
||||||
m_NeedAck.Clear();
|
m_NeedAck.Clear();
|
||||||
m_PendingAcks.Clear();
|
m_PendingAcks.Clear();
|
||||||
m_PendingAcksMap.Clear();
|
m_PendingAcksMap.Clear();
|
||||||
|
}
|
||||||
m_Sequence += 1000000;
|
m_Sequence += 1000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue