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.
This commit is contained in:
Melanie Thielker
2008-07-22 22:21:20 +00:00
parent b942d18379
commit 7fb103d374

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;
}