* restore Header.Resent field setting for resent packets

* without this, the client appears to reset the sequence of packets its expecting
0.6.0-stable
Justin Clarke Casey 2008-10-06 16:57:58 +00:00
parent 33d957207c
commit d18aff3310
1 changed files with 4 additions and 0 deletions

View File

@ -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))