mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
a few changes on HGinventoryBroker p+lus cosmetics
This commit is contained in:
@@ -93,7 +93,7 @@ namespace OpenSim.Framework
|
||||
/// <summary>
|
||||
/// MemoryStream representing the resulting resource
|
||||
/// </summary>
|
||||
private Stream _resource;
|
||||
private MemoryStream _resource;
|
||||
|
||||
/// <summary>
|
||||
/// WebRequest object, held as a member variable
|
||||
@@ -313,7 +313,7 @@ namespace OpenSim.Framework
|
||||
/// <summary>
|
||||
/// Perform a synchronous request
|
||||
/// </summary>
|
||||
public Stream Request()
|
||||
public MemoryStream Request()
|
||||
{
|
||||
return Request(null);
|
||||
}
|
||||
@@ -321,7 +321,7 @@ namespace OpenSim.Framework
|
||||
/// <summary>
|
||||
/// Perform a synchronous request
|
||||
/// </summary>
|
||||
public Stream Request(IServiceAuth auth)
|
||||
public MemoryStream Request(IServiceAuth auth)
|
||||
{
|
||||
lock (_lock)
|
||||
{
|
||||
@@ -471,7 +471,7 @@ namespace OpenSim.Framework
|
||||
try
|
||||
{
|
||||
// Perform the operation; if sucessful set the result
|
||||
Stream s = Request(null);
|
||||
MemoryStream s = Request(null);
|
||||
ar.SetAsCompleted(s, false);
|
||||
}
|
||||
catch (Exception e)
|
||||
|
||||
Reference in New Issue
Block a user