* 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.

ThreadPoolClientBranch
Adam Frisby 2008-02-04 10:28:39 +00:00
parent d12f253cca
commit 35a8c95e1d
1 changed files with 1 additions and 1 deletions

View File

@ -503,7 +503,7 @@ namespace OpenSim.Framework.Communications.Cache
{ {
int processedLength = 0; int processedLength = 0;
// libsecondlife hardcodes 1500 as the maximum data chunk size // libsecondlife hardcodes 1500 as the maximum data chunk size
int maxChunkSize = 1500; int maxChunkSize = 1250;
int packetNumber = 0; int packetNumber = 0;
while (processedLength < req.AssetInf.Data.Length) while (processedLength < req.AssetInf.Data.Length)