* restore Header.Resent field setting for resent packets
* without this, the client appears to reset the sequence of packets its expecting0.6.0-stable
parent
33d957207c
commit
d18aff3310
|
@ -362,6 +362,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
if ((now - data.TickCount) > m_ResendTimeout)
|
if ((now - data.TickCount) > m_ResendTimeout)
|
||||||
{
|
{
|
||||||
m_NeedAck[packet.Header.Sequence].Resends++;
|
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 >=
|
if (m_NeedAck[packet.Header.Sequence].Resends >=
|
||||||
m_MaxReliableResends && (!m_ReliableIsImportant))
|
m_MaxReliableResends && (!m_ReliableIsImportant))
|
||||||
|
|
Loading…
Reference in New Issue