diff options
author | Melanie | 2009-08-29 03:26:44 +0100 |
---|---|---|
committer | Melanie | 2009-08-29 03:26:44 +0100 |
commit | 976cf4284bdbef14553c2e164cb67d25bd2b9076 (patch) | |
tree | 20004db93f70bc5116df39986d0da4119c7891e0 /OpenSim/Framework/Servers | |
parent | Modify CAPS inventory code. Currently this is not executed (diff) | |
download | opensim-SC_OLD-976cf4284bdbef14553c2e164cb67d25bd2b9076.zip opensim-SC_OLD-976cf4284bdbef14553c2e164cb67d25bd2b9076.tar.gz opensim-SC_OLD-976cf4284bdbef14553c2e164cb67d25bd2b9076.tar.bz2 opensim-SC_OLD-976cf4284bdbef14553c2e164cb67d25bd2b9076.tar.xz |
Fix up WebFetchInventoryDescendents to really return all data needed,
especially the folder version and the subfolders. Fixes inventory search
hang and folders not loading.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/RestSessionService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/RestSessionService.cs b/OpenSim/Framework/Servers/HttpServer/RestSessionService.cs index 2ef4a36..3f72c31 100644 --- a/OpenSim/Framework/Servers/HttpServer/RestSessionService.cs +++ b/OpenSim/Framework/Servers/HttpServer/RestSessionService.cs | |||
@@ -94,6 +94,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
94 | 94 | ||
95 | Stream requestStream = request.GetRequestStream(); | 95 | Stream requestStream = request.GetRequestStream(); |
96 | requestStream.Write(buffer.ToArray(), 0, length); | 96 | requestStream.Write(buffer.ToArray(), 0, length); |
97 | requestStream.Close(); | ||
97 | TResponse deserial = default(TResponse); | 98 | TResponse deserial = default(TResponse); |
98 | using (WebResponse resp = request.GetResponse()) | 99 | using (WebResponse resp = request.GetResponse()) |
99 | { | 100 | { |
@@ -101,7 +102,6 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
101 | deserial = (TResponse)deserializer.Deserialize(resp.GetResponseStream()); | 102 | deserial = (TResponse)deserializer.Deserialize(resp.GetResponseStream()); |
102 | resp.Close(); | 103 | resp.Close(); |
103 | } | 104 | } |
104 | requestStream.Close(); | ||
105 | return deserial; | 105 | return deserial; |
106 | } | 106 | } |
107 | } | 107 | } |