mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
fix: ArchiveReadRequest.URIFetch stumbles over absent content length field
fix: region parameter in IRCBridgeModule XmlRpc was check for presence but not actually used...
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user