aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
index c32ee28..92be3a3 100644
--- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
@@ -686,7 +686,8 @@ namespace OpenSim.Framework.Servers.HttpServer
686 } 686 }
687 } 687 }
688 688
689 request.InputStream.Dispose(); 689 if(request.InputStream.CanRead)
690 request.InputStream.Dispose();
690 691
691 if (buffer != null) 692 if (buffer != null)
692 { 693 {