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

This commit is contained in:
Adam Frisby
2008-02-04 10:28:39 +00:00
parent d12f253cca
commit 35a8c95e1d

View File

@@ -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)