mirror of
https://github.com/opensim/opensim.git
synced 2026-07-14 03:15:36 +08:00
some conditional dispose on http requests inputstream
This commit is contained in:
@@ -815,7 +815,8 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
}
|
||||
}
|
||||
|
||||
request.InputStream.Dispose();
|
||||
if(request.InputStream.CanRead)
|
||||
request.InputStream.Dispose();
|
||||
|
||||
if (buffer != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user