mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
Close was being called to early on the Memory stream.
This commit is contained in:
@@ -62,7 +62,6 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
writer.Write(obj);
|
||||
writer.Flush();
|
||||
}
|
||||
buffer.Close();
|
||||
|
||||
length = (int)obj.Length;
|
||||
request.ContentLength = length;
|
||||
@@ -80,6 +79,8 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
{
|
||||
if (requestStream != null)
|
||||
requestStream.Close();
|
||||
buffer.Close();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user