mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Fix up WebFetchInventoryDescendents to really return all data needed,
especially the folder version and the subfolders. Fixes inventory search hang and folders not loading.
This commit is contained in:
@@ -94,6 +94,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
|
||||
Stream requestStream = request.GetRequestStream();
|
||||
requestStream.Write(buffer.ToArray(), 0, length);
|
||||
requestStream.Close();
|
||||
TResponse deserial = default(TResponse);
|
||||
using (WebResponse resp = request.GetResponse())
|
||||
{
|
||||
@@ -101,7 +102,6 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
deserial = (TResponse)deserializer.Deserialize(resp.GetResponseStream());
|
||||
resp.Close();
|
||||
}
|
||||
requestStream.Close();
|
||||
return deserial;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user