From f57d1307ab32fcd999a1df5437cdb6c2354ac7ed Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Tue, 4 Nov 2008 16:17:27 +0000 Subject: fix: ArchiveReadRequest.URIFetch stumbles over absent content length field fix: region parameter in IRCBridgeModule XmlRpc was check for presence but not actually used... --- .../Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment/Modules/World') 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 if (response.ContentLength == 0) throw new Exception(String.Format("{0} returned an empty file", uri.ToString())); - return new BufferedStream(file, (int) response.ContentLength); + // return new BufferedStream(file, (int) response.ContentLength); + return new BufferedStream(file, 1000000); } -- cgit v1.1