aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP
diff options
context:
space:
mode:
authorTeravus Ovares2008-11-07 01:05:22 +0000
committerTeravus Ovares2008-11-07 01:05:22 +0000
commitf0bf3df0249cf7c6dee8538429d00a0907b4de3f (patch)
tree8595540defb9dc19dd3ce38377a1f4faa10a8edf /OpenSim/Region/ClientStack/LindenUDP
parent* Remove SceneObjectPart.AttachToScene() since the remaining instruction can ... (diff)
downloadopensim-SC_OLD-f0bf3df0249cf7c6dee8538429d00a0907b4de3f.zip
opensim-SC_OLD-f0bf3df0249cf7c6dee8538429d00a0907b4de3f.tar.gz
opensim-SC_OLD-f0bf3df0249cf7c6dee8538429d00a0907b4de3f.tar.bz2
opensim-SC_OLD-f0bf3df0249cf7c6dee8538429d00a0907b4de3f.tar.xz
* Fix half of the issue behind the long standing 'UseCircuitCode' packet spam from libOMV clients. AckPacket.Header.Sequence was 0. This caused LibOMV to ignore it.
* There's another patch over at http://jira.openmv.org/browse/LIBOMV-415 to fix the 'resend forever' issue.
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index 14d98d4..f37db36 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -453,6 +453,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
453 ack_it.Packets = new PacketAckPacket.PacketsBlock[1]; 453 ack_it.Packets = new PacketAckPacket.PacketsBlock[1];
454 ack_it.Packets[0] = new PacketAckPacket.PacketsBlock(); 454 ack_it.Packets[0] = new PacketAckPacket.PacketsBlock();
455 ack_it.Packets[0].ID = useCircuit.Header.Sequence; 455 ack_it.Packets[0].ID = useCircuit.Header.Sequence;
456 // ((useCircuit.Header.Sequence < uint.MaxValue) ? useCircuit.Header.Sequence : 0) is just a failsafe to ensure that we don't overflow.
457 ack_it.Header.Sequence = ((useCircuit.Header.Sequence < uint.MaxValue) ? useCircuit.Header.Sequence : 0) + 1;
456 ack_it.Header.Reliable = false; 458 ack_it.Header.Reliable = false;
457 SendPacketTo(ack_it.ToBytes(), ack_it.ToBytes().Length, SocketFlags.None, useCircuit.CircuitCode.Code); 459 SendPacketTo(ack_it.ToBytes(), ack_it.ToBytes().Length, SocketFlags.None, useCircuit.CircuitCode.Code);
458 460