fix: ArchiveReadRequest.URIFetch stumbles over absent content length field
fix: region parameter in IRCBridgeModule XmlRpc was check for presence but not actually used...0.6.0-stable
parent
702249358b
commit
f57d1307ab
|
@ -234,6 +234,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
|
|||
|
||||
if (!requestData.ContainsKey("region"))
|
||||
throw new Exception("No region name specified");
|
||||
region = (string)requestData["region"];
|
||||
|
||||
foreach (RegionState rs in m_regions)
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue