aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications
diff options
context:
space:
mode:
authorTeravus Ovares2008-05-10 10:28:49 +0000
committerTeravus Ovares2008-05-10 10:28:49 +0000
commite8478dadc87586aaed173f60c44bc5ee2722d9dd (patch)
tree71b5fdd25c0ba50c595dfe7e9d1f017d68277988 /OpenSim/Framework/Communications
parent* Resolve mantis 1182. Doesn't actually implement llGiveInventoryList - mere... (diff)
downloadopensim-SC_OLD-e8478dadc87586aaed173f60c44bc5ee2722d9dd.zip
opensim-SC_OLD-e8478dadc87586aaed173f60c44bc5ee2722d9dd.tar.gz
opensim-SC_OLD-e8478dadc87586aaed173f60c44bc5ee2722d9dd.tar.bz2
opensim-SC_OLD-e8478dadc87586aaed173f60c44bc5ee2722d9dd.tar.xz
* Experiment in Zerocoding.
Diffstat (limited to 'OpenSim/Framework/Communications')
-rw-r--r--OpenSim/Framework/Communications/Cache/AssetCache.cs4
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;