mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
changes on updates
This commit is contained in:
@@ -855,7 +855,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
LLUDPClient udpClient, Packet packet, ThrottleOutPacketType category, bool allowSplitting, UnackedPacketMethod method)
|
||||
{
|
||||
// CoarseLocationUpdate packets cannot be split in an automated way
|
||||
if (allowSplitting && packet.HasVariableBlocks && packet.Type != PacketType.CoarseLocationUpdate)
|
||||
if (allowSplitting && packet.HasVariableBlocks && packet.Type != PacketType.CoarseLocationUpdate &&
|
||||
packet.Length + 20 > MTU)
|
||||
{
|
||||
byte[][] datas = packet.ToBytesMultiple();
|
||||
int packetCount = datas.Length;
|
||||
|
||||
Reference in New Issue
Block a user