diff options
author | Dr Scofield | 2008-11-04 16:17:27 +0000 |
---|---|---|
committer | Dr Scofield | 2008-11-04 16:17:27 +0000 |
commit | f57d1307ab32fcd999a1df5437cdb6c2354ac7ed (patch) | |
tree | c4587e1fa1315122ab38fbe62595d2c9da4847c3 /OpenSim/Region/Environment/Modules/World | |
parent | implement email field for MySQL and SQLite (diff) | |
download | opensim-SC-f57d1307ab32fcd999a1df5437cdb6c2354ac7ed.zip opensim-SC-f57d1307ab32fcd999a1df5437cdb6c2354ac7ed.tar.gz opensim-SC-f57d1307ab32fcd999a1df5437cdb6c2354ac7ed.tar.bz2 opensim-SC-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')
-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 | ||