diff options
Diffstat (limited to 'OpenSim/Framework/Communications/Cache')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetCache.cs | 4 |
1 files changed, 3 insertions, 1 deletions
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; |