aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
diff options
context:
space:
mode:
authorMelanie Thielker2008-08-19 19:44:49 +0000
committerMelanie Thielker2008-08-19 19:44:49 +0000
commit5cb0d4fcac3f9f23640efff210790bf1db46edfe (patch)
treeb349fd7a4ce0d806751e13ca65692fe82d32c7b9 /OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
parentAttachment persistence (Mantis #1711) (diff)
downloadopensim-SC-5cb0d4fcac3f9f23640efff210790bf1db46edfe.zip
opensim-SC-5cb0d4fcac3f9f23640efff210790bf1db46edfe.tar.gz
opensim-SC-5cb0d4fcac3f9f23640efff210790bf1db46edfe.tar.bz2
opensim-SC-5cb0d4fcac3f9f23640efff210790bf1db46edfe.tar.xz
Packet type exclusion (Mantis #2004)
Exclude SimStats packets from ack appending.
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
index 8023f58..11cfbd9 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
@@ -253,12 +253,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
253 253
254 private void AddAcks(ref Packet packet) 254 private void AddAcks(ref Packet packet)
255 { 255 {
256 // This packet type has shown to have issues with 256 // These packet types have shown to have issues with
257 // acks being appended to the payload, just don't send 257 // acks being appended to the payload, just don't send
258 // any with this packet type until libsl is fixed. 258 // any with them until libsl is fixed.
259 // 259 //
260 if (packet is libsecondlife.Packets.ViewerEffectPacket) 260 if (packet is libsecondlife.Packets.ViewerEffectPacket)
261 return; 261 return;
262 if (packet is libsecondlife.Packets.SimStatsPacket)
263 return;
262 264
263 // Add acks to outgoing packets 265 // Add acks to outgoing packets
264 // 266 //