diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs index c3d017a..2fe36a8 100644 --- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs +++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs | |||
@@ -342,7 +342,8 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
342 | if (response.ContentLength == 0) | 342 | if (response.ContentLength == 0) |
343 | throw new Exception(String.Format("{0} returned an empty file", uri.ToString())); | 343 | throw new Exception(String.Format("{0} returned an empty file", uri.ToString())); |
344 | 344 | ||
345 | return new BufferedStream(file, (int) response.ContentLength); | 345 | // return new BufferedStream(file, (int) response.ContentLength); |
346 | return new BufferedStream(file, 1000000); | ||
346 | 347 | ||
347 | } | 348 | } |
348 | 349 | ||