diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/SynchronousRestFormsRequester.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/SynchronousRestFormsRequester.cs b/OpenSim/Framework/Servers/HttpServer/SynchronousRestFormsRequester.cs index e76d80e..11df103 100644 --- a/OpenSim/Framework/Servers/HttpServer/SynchronousRestFormsRequester.cs +++ b/OpenSim/Framework/Servers/HttpServer/SynchronousRestFormsRequester.cs | |||
@@ -62,7 +62,6 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
62 | writer.Write(obj); | 62 | writer.Write(obj); |
63 | writer.Flush(); | 63 | writer.Flush(); |
64 | } | 64 | } |
65 | buffer.Close(); | ||
66 | 65 | ||
67 | length = (int)obj.Length; | 66 | length = (int)obj.Length; |
68 | request.ContentLength = length; | 67 | request.ContentLength = length; |
@@ -80,6 +79,8 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
80 | { | 79 | { |
81 | if (requestStream != null) | 80 | if (requestStream != null) |
82 | requestStream.Close(); | 81 | requestStream.Close(); |
82 | buffer.Close(); | ||
83 | |||
83 | } | 84 | } |
84 | } | 85 | } |
85 | 86 | ||