diff options
author | John Hurliman | 2009-10-30 11:12:32 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-30 11:12:32 -0700 |
commit | 5d5d0e699af34b9300ed2f60c0c59b256be3dd89 (patch) | |
tree | 9648a62ac8bff803277a156bf247265e05bfe752 /OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |
parent | * Fix for a potential race condition in ScenePresence.AbsolutePosition (diff) | |
download | opensim-SC-5d5d0e699af34b9300ed2f60c0c59b256be3dd89.zip opensim-SC-5d5d0e699af34b9300ed2f60c0c59b256be3dd89.tar.gz opensim-SC-5d5d0e699af34b9300ed2f60c0c59b256be3dd89.tar.bz2 opensim-SC-5d5d0e699af34b9300ed2f60c0c59b256be3dd89.tar.xz |
* Disables automatic packet splitting on AvatarGroupsReply packets. This packet is a mess and shouldn't be used at all (in favor of the event queue message)
* Clean up the way we send AvatarGroupsReply packets, including clamping the group name and group title
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index cc06a85..6f94921 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |||
@@ -247,8 +247,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
247 | 247 | ||
248 | public void BroadcastPacket(Packet packet, ThrottleOutPacketType category, bool sendToPausedAgents, bool allowSplitting) | 248 | public void BroadcastPacket(Packet packet, ThrottleOutPacketType category, bool sendToPausedAgents, bool allowSplitting) |
249 | { | 249 | { |
250 | // CoarseLocationUpdate packets cannot be split in an automated way | 250 | // CoarseLocationUpdate and AvatarGroupsReply packets cannot be split in an automated way |
251 | if (packet.Type == PacketType.CoarseLocationUpdate && allowSplitting) | 251 | if ((packet.Type == PacketType.CoarseLocationUpdate || packet.Type == PacketType.AvatarGroupsReply) && allowSplitting) |
252 | allowSplitting = false; | 252 | allowSplitting = false; |
253 | 253 | ||
254 | if (allowSplitting && packet.HasVariableBlocks) | 254 | if (allowSplitting && packet.HasVariableBlocks) |