diff options
author | Teravus Ovares (Dan Olivares) | 2009-08-29 23:50:24 -0400 |
---|---|---|
committer | Teravus Ovares (Dan Olivares) | 2009-08-29 23:50:24 -0400 |
commit | 2f40161f38967e3362ac7be43b74d5cbc75564fa (patch) | |
tree | db14920568864a932a064a4530d006fc67c60a5f /OpenSim/Framework/Servers/HttpServer | |
parent | Ok, merging the RegionCombinerModule with master. (diff) | |
parent | Remove another IAuthentificationInterface user (diff) | |
download | opensim-SC_OLD-2f40161f38967e3362ac7be43b74d5cbc75564fa.zip opensim-SC_OLD-2f40161f38967e3362ac7be43b74d5cbc75564fa.tar.gz opensim-SC_OLD-2f40161f38967e3362ac7be43b74d5cbc75564fa.tar.bz2 opensim-SC_OLD-2f40161f38967e3362ac7be43b74d5cbc75564fa.tar.xz |
Merge branch 'master' of ssh://MyConnection/var/git/opensim
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer')
-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 | } |