Thank you, Neopallium, for a patch that addresses ack issues in the

client stack. Committed with changes, see Mantis #1810 for details.
0.6.0-stable
Melanie Thielker 2008-07-24 15:52:36 +00:00
parent e5e1666c84
commit 740a9a7374
1 changed files with 3 additions and 1 deletions

View File

@ -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++;