Packet type exclusion (Mantis #2004)

Exclude SimStats packets from ack appending.
0.6.0-stable
Melanie Thielker 2008-08-19 19:44:49 +00:00
parent 41440e184b
commit 5cb0d4fcac
1 changed files with 4 additions and 2 deletions

View File

@ -253,12 +253,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
private void AddAcks(ref Packet packet)
{
// This packet type has shown to have issues with
// These packet types have shown to have issues with
// acks being appended to the payload, just don't send
// any with this packet type until libsl is fixed.
// any with them until libsl is fixed.
//
if (packet is libsecondlife.Packets.ViewerEffectPacket)
return;
if (packet is libsecondlife.Packets.SimStatsPacket)
return;
// Add acks to outgoing packets
//