Change one packet optimization to cover a case where the resend

queue may block indefinitely when a single packet is not acked
by the viewer and no others cwfromfor that region are pending.
0.6.0-stable
Melanie Thielker 2008-07-22 22:21:20 +00:00
parent b942d18379
commit 7fb103d374
1 changed files with 2 additions and 2 deletions

View File

@ -309,8 +309,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
// No need to resend anything. Keep it until it gets stale,
// then it will be dropped.
//
if (((now - lastAck) > m_SilenceLimit) &&
m_NeedAck.Count > 0)
if ((((now - lastAck) > m_SilenceLimit) &&
m_NeedAck.Count > 0) || m_NeedAck.Count == 0)
{
return;
}