From 35a8c95e1de294de633537b558d9406cf6f2938f Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Mon, 4 Feb 2008 10:28:39 +0000 Subject: [PATCH] * 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. --- OpenSim/Framework/Communications/Cache/AssetCache.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs index 84c549be0f..db2d2fe4c6 100644 --- a/OpenSim/Framework/Communications/Cache/AssetCache.cs +++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs @@ -503,7 +503,7 @@ namespace OpenSim.Framework.Communications.Cache { int processedLength = 0; // libsecondlife hardcodes 1500 as the maximum data chunk size - int maxChunkSize = 1500; + int maxChunkSize = 1250; int packetNumber = 0; while (processedLength < req.AssetInf.Data.Length)