aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs
diff options
context:
space:
mode:
authorDr Scofield2008-11-04 16:17:27 +0000
committerDr Scofield2008-11-04 16:17:27 +0000
commitf57d1307ab32fcd999a1df5437cdb6c2354ac7ed (patch)
treec4587e1fa1315122ab38fbe62595d2c9da4847c3 /OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs
parentimplement email field for MySQL and SQLite (diff)
downloadopensim-SC_OLD-f57d1307ab32fcd999a1df5437cdb6c2354ac7ed.zip
opensim-SC_OLD-f57d1307ab32fcd999a1df5437cdb6c2354ac7ed.tar.gz
opensim-SC_OLD-f57d1307ab32fcd999a1df5437cdb6c2354ac7ed.tar.bz2
opensim-SC_OLD-f57d1307ab32fcd999a1df5437cdb6c2354ac7ed.tar.xz
fix: ArchiveReadRequest.URIFetch stumbles over absent content length field
fix: region parameter in IRCBridgeModule XmlRpc was check for presence but not actually used...
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs3
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