From 682f4e9257bcec6e9690145760558cc3331bc5d8 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Tue, 15 Apr 2008 06:21:44 +0000 Subject: * Fixes an issue with the BaseHttpServer in Linux * Fixes an estate naming issue * Fixes a land issue with the landobject not reporting the proper parcel prim. * A few other tweaks. --- OpenSim/Framework/Servers/BaseHttpServer.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'OpenSim/Framework/Servers') 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 } finally { - response.OutputStream.Close(); + try + { + response.OutputStream.Close(); + } + catch (System.Net.Sockets.SocketException) + { + // This has to be here to prevent a Linux/Mono crash + } } } -- cgit v1.1