aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/BaseHttpServer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Servers/BaseHttpServer.cs')
-rw-r--r--OpenSim/Framework/Servers/BaseHttpServer.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs
index 289b122..0baddb8 100644
--- a/OpenSim/Framework/Servers/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/BaseHttpServer.cs
@@ -332,7 +332,14 @@ namespace OpenSim.Framework.Servers
332 } 332 }
333 finally 333 finally
334 { 334 {
335 response.OutputStream.Close(); 335 try
336 {
337 response.OutputStream.Close();
338 }
339 catch (System.Net.Sockets.SocketException)
340 {
341 // This has to be here to prevent a Linux/Mono crash
342 }
336 } 343 }
337 } 344 }
338 345