aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorlbsa712008-12-18 11:39:24 +0000
committerlbsa712008-12-18 11:39:24 +0000
commit68c53c6da0ca449910f0b174261c6005ff3b535f (patch)
tree3aecbeeb9d4cf7f03cd74f7e5eba23988fe09953
parent* Catch a WebException in the LoadImageURLModule (diff)
downloadopensim-SC-68c53c6da0ca449910f0b174261c6005ff3b535f.zip
opensim-SC-68c53c6da0ca449910f0b174261c6005ff3b535f.tar.gz
opensim-SC-68c53c6da0ca449910f0b174261c6005ff3b535f.tar.bz2
opensim-SC-68c53c6da0ca449910f0b174261c6005ff3b535f.tar.xz
* Caught unhandled IOException, and outputted it to log.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Servers/BaseHttpServer.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs
index 5bf4480..40eaba5 100644
--- a/OpenSim/Framework/Servers/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/BaseHttpServer.cs
@@ -789,10 +789,14 @@ namespace OpenSim.Framework.Servers
789 response.OutputStream.Flush(); 789 response.OutputStream.Flush();
790 response.OutputStream.Close(); 790 response.OutputStream.Close();
791 } 791 }
792 catch (IOException e)
793 {
794 m_log.DebugFormat("[BASE HTTP SERVER] LLSD IOException {0}.", e);
795 }
792 catch (SocketException e) 796 catch (SocketException e)
793 { 797 {
794 // This has to be here to prevent a Linux/Mono crash 798 // This has to be here to prevent a Linux/Mono crash
795 m_log.WarnFormat("[BASE HTTP SERVER] XmlRpcRequest issue {0}.\nNOTE: this may be spurious on Linux.", e); 799 m_log.WarnFormat("[BASE HTTP SERVER] LLSD issue {0}.\nNOTE: this may be spurious on Linux.", e);
796 } 800 }
797 } 801 }
798 } 802 }