mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Thank you, Neopallium, for a patch that addresses ack issues in the
client stack. Committed with changes, see Mantis #1810 for details.
This commit is contained in:
@@ -256,6 +256,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
if (count > 10)
|
||||
count = 10;
|
||||
packet.Header.AckList = new uint[count];
|
||||
packet.Header.AppendedAcks = true;
|
||||
|
||||
int i = 0;
|
||||
|
||||
@@ -527,7 +528,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
{
|
||||
// Always ack the packet!
|
||||
//
|
||||
AckPacket(packet);
|
||||
if (packet.Header.Reliable)
|
||||
AckPacket(packet);
|
||||
|
||||
if (packet.Type != PacketType.AgentUpdate)
|
||||
m_PacketsReceived++;
|
||||
|
||||
Reference in New Issue
Block a user