mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user