diff options
author | Melanie Thielker | 2008-07-24 15:52:36 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-07-24 15:52:36 +0000 |
commit | 740a9a737459db137628813f76d0a2c16c5d2896 (patch) | |
tree | 78d56feae4fc26b5a3ec022cb67c0c78880e203d /OpenSim | |
parent | * Fix spelling mistake in OGS1SecureInvenotryService (diff) | |
download | opensim-SC-740a9a737459db137628813f76d0a2c16c5d2896.zip opensim-SC-740a9a737459db137628813f76d0a2c16c5d2896.tar.gz opensim-SC-740a9a737459db137628813f76d0a2c16c5d2896.tar.bz2 opensim-SC-740a9a737459db137628813f76d0a2c16c5d2896.tar.xz |
Thank you, Neopallium, for a patch that addresses ack issues in the
client stack. Committed with changes, see Mantis #1810 for details.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs index 3cfc478..eaff5a4 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs | |||
@@ -256,6 +256,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
256 | if (count > 10) | 256 | if (count > 10) |
257 | count = 10; | 257 | count = 10; |
258 | packet.Header.AckList = new uint[count]; | 258 | packet.Header.AckList = new uint[count]; |
259 | packet.Header.AppendedAcks = true; | ||
259 | 260 | ||
260 | int i = 0; | 261 | int i = 0; |
261 | 262 | ||
@@ -527,7 +528,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
527 | { | 528 | { |
528 | // Always ack the packet! | 529 | // Always ack the packet! |
529 | // | 530 | // |
530 | AckPacket(packet); | 531 | if (packet.Header.Reliable) |
532 | AckPacket(packet); | ||
531 | 533 | ||
532 | if (packet.Type != PacketType.AgentUpdate) | 534 | if (packet.Type != PacketType.AgentUpdate) |
533 | m_PacketsReceived++; | 535 | m_PacketsReceived++; |