From c80493ed4d45e7eb394ca56047d939804a9d55d4 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Tue, 29 Jul 2008 22:40:23 +0000 Subject: Prevent acks from being appended to viewer effect packets, since that has been known to cause an exception in libomv ^^ --- OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'OpenSim/Region/ClientStack') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs index 186dd84..e1a9678 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs @@ -248,6 +248,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP private void AddAcks(ref Packet packet) { + // This packet type has shown to have issues with + // acks being appended to the payload, just don't send + // any with this packet type until libsl is fixed. + // + if(packet is libsecondlife.Packets.ViewerEffectPacket) + return; + // Add acks to outgoing packets // if (m_PendingAcks.Count > 0) -- cgit v1.1