diff options
author | Adam Frisby | 2008-02-04 10:28:39 +0000 |
---|---|---|
committer | Adam Frisby | 2008-02-04 10:28:39 +0000 |
commit | 35a8c95e1de294de633537b558d9406cf6f2938f (patch) | |
tree | 5bce0a929ae59957be7713fd3e2141e9be685310 /OpenSim/Framework/Communications/Cache/AssetCache.cs | |
parent | * Default inventory permissions patch (#444), courtesy of alex_carnell -- tha... (diff) | |
download | opensim-SC-35a8c95e1de294de633537b558d9406cf6f2938f.zip opensim-SC-35a8c95e1de294de633537b558d9406cf6f2938f.tar.gz opensim-SC-35a8c95e1de294de633537b558d9406cf6f2938f.tar.bz2 opensim-SC-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.
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/AssetCache.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetCache.cs | 2 |
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) |