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
parent
b942d18379
commit
7fb103d374
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue