aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAdam Frisby2008-02-04 10:28:39 +0000
committerAdam Frisby2008-02-04 10:28:39 +0000
commit35a8c95e1de294de633537b558d9406cf6f2938f (patch)
tree5bce0a929ae59957be7713fd3e2141e9be685310
parent* Default inventory permissions patch (#444), courtesy of alex_carnell -- tha... (diff)
downloadopensim-SC_OLD-35a8c95e1de294de633537b558d9406cf6f2938f.zip
opensim-SC_OLD-35a8c95e1de294de633537b558d9406cf6f2938f.tar.gz
opensim-SC_OLD-35a8c95e1de294de633537b558d9406cf6f2938f.tar.bz2
opensim-SC_OLD-35a8c95e1de294de633537b558d9406cf6f2938f.tar.xz
* Lowered maxchunk from 1500 bytes to 1250 bytes to make sure packets fit below the average maximum MTU of 1500 bytes inc. header. Thanks Alex for reporting this.
-rw-r--r--OpenSim/Framework/Communications/Cache/AssetCache.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs
index 84c549b..db2d2fe 100644
--- a/OpenSim/Framework/Communications/Cache/AssetCache.cs
+++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs
@@ -503,7 +503,7 @@ namespace OpenSim.Framework.Communications.Cache
503 { 503 {
504 int processedLength = 0; 504 int processedLength = 0;
505 // libsecondlife hardcodes 1500 as the maximum data chunk size 505 // libsecondlife hardcodes 1500 as the maximum data chunk size
506 int maxChunkSize = 1500; 506 int maxChunkSize = 1250;
507 int packetNumber = 0; 507 int packetNumber = 0;
508 508
509 while (processedLength < req.AssetInf.Data.Length) 509 while (processedLength < req.AssetInf.Data.Length)