aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/ClientManager.cs1
-rw-r--r--OpenSim/Framework/Communications/Cache/AssetCache.cs4
2 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Framework/ClientManager.cs b/OpenSim/Framework/ClientManager.cs
index 5d9ccc0..460cf36 100644
--- a/OpenSim/Framework/ClientManager.cs
+++ b/OpenSim/Framework/ClientManager.cs
@@ -203,6 +203,7 @@ namespace OpenSim.Framework
203 packet.AgentData.AgentID = LocalClients[i].AgentId; 203 packet.AgentData.AgentID = LocalClients[i].AgentId;
204 packet.AgentData.SessionID = LocalClients[i].SessionId; 204 packet.AgentData.SessionID = LocalClients[i].SessionId;
205 packet.Header.Reliable = false; 205 packet.Header.Reliable = false;
206 packet.Header.Zerocoded = true;
206 LocalClients[i].OutPacket(packet, ThrottleOutPacketType.Task); 207 LocalClients[i].OutPacket(packet, ThrottleOutPacketType.Task);
207 } 208 }
208 } 209 }
diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs
index fddf01d..1414260 100644
--- a/OpenSim/Framework/Communications/Cache/AssetCache.cs
+++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs
@@ -606,6 +606,7 @@ namespace OpenSim.Framework.Communications.Cache
606 } 606 }
607 Transfer.TransferInfo.Size = (int)req.AssetInf.Data.Length; 607 Transfer.TransferInfo.Size = (int)req.AssetInf.Data.Length;
608 Transfer.TransferInfo.TransferID = req.TransferRequestID; 608 Transfer.TransferInfo.TransferID = req.TransferRequestID;
609 Transfer.Header.Zerocoded = true;
609 req.RequestUser.OutPacket(Transfer, ThrottleOutPacketType.Asset); 610 req.RequestUser.OutPacket(Transfer, ThrottleOutPacketType.Asset);
610 611
611 if (req.NumPackets == 1) 612 if (req.NumPackets == 1)
@@ -616,6 +617,7 @@ namespace OpenSim.Framework.Communications.Cache
616 TransferPacket.TransferData.TransferID = req.TransferRequestID; 617 TransferPacket.TransferData.TransferID = req.TransferRequestID;
617 TransferPacket.TransferData.Data = req.AssetInf.Data; 618 TransferPacket.TransferData.Data = req.AssetInf.Data;
618 TransferPacket.TransferData.Status = 1; 619 TransferPacket.TransferData.Status = 1;
620 TransferPacket.Header.Zerocoded = true;
619 req.RequestUser.OutPacket(TransferPacket, ThrottleOutPacketType.Asset); 621 req.RequestUser.OutPacket(TransferPacket, ThrottleOutPacketType.Asset);
620 } 622 }
621 else 623 else
@@ -647,7 +649,7 @@ namespace OpenSim.Framework.Communications.Cache
647 { 649 {
648 TransferPacket.TransferData.Status = 1; 650 TransferPacket.TransferData.Status = 1;
649 } 651 }
650 652 TransferPacket.Header.Zerocoded = true;
651 req.RequestUser.OutPacket(TransferPacket, ThrottleOutPacketType.Asset); 653 req.RequestUser.OutPacket(TransferPacket, ThrottleOutPacketType.Asset);
652 654
653 processedLength += chunkSize; 655 processedLength += chunkSize;