aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
diff options
context:
space:
mode:
authorUbitUmarov2018-12-30 02:41:13 +0000
committerUbitUmarov2018-12-30 02:41:13 +0000
commit817b622b79ca06925662deab7f80dcd06971a25c (patch)
treec7efea7eb7de3bde4aac692ceb732b0906a8e650 /OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
parentchanges on updates (diff)
downloadopensim-SC-817b622b79ca06925662deab7f80dcd06971a25c.zip
opensim-SC-817b622b79ca06925662deab7f80dcd06971a25c.tar.gz
opensim-SC-817b622b79ca06925662deab7f80dcd06971a25c.tar.bz2
opensim-SC-817b622b79ca06925662deab7f80dcd06971a25c.tar.xz
changes on updates
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
index b8ea6c1..afa1e4c 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
@@ -855,7 +855,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
855 LLUDPClient udpClient, Packet packet, ThrottleOutPacketType category, bool allowSplitting, UnackedPacketMethod method) 855 LLUDPClient udpClient, Packet packet, ThrottleOutPacketType category, bool allowSplitting, UnackedPacketMethod method)
856 { 856 {
857 // CoarseLocationUpdate packets cannot be split in an automated way 857 // CoarseLocationUpdate packets cannot be split in an automated way
858 if (allowSplitting && packet.HasVariableBlocks && packet.Type != PacketType.CoarseLocationUpdate) 858 if (allowSplitting && packet.HasVariableBlocks && packet.Type != PacketType.CoarseLocationUpdate &&
859 packet.Length + 20 > MTU)
859 { 860 {
860 byte[][] datas = packet.ToBytesMultiple(); 861 byte[][] datas = packet.ToBytesMultiple();
861 int packetCount = datas.Length; 862 int packetCount = datas.Length;