mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
* restore Header.Resent field setting for resent packets
* without this, the client appears to reset the sequence of packets its expecting
This commit is contained in:
@@ -362,6 +362,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
if ((now - data.TickCount) > m_ResendTimeout)
|
||||
{
|
||||
m_NeedAck[packet.Header.Sequence].Resends++;
|
||||
|
||||
// The client needs to be told that a packet is being resent, otherwise it appears to believe
|
||||
// that it should reset its sequence to that packet number.
|
||||
packet.Header.Resent = true;
|
||||
|
||||
if (m_NeedAck[packet.Header.Sequence].Resends >=
|
||||
m_MaxReliableResends && (!m_ReliableIsImportant))
|
||||
|
||||
Reference in New Issue
Block a user