aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/BaseHttpServer.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-12-18 01:52:49 +0000
committerTeravus Ovares2008-12-18 01:52:49 +0000
commit6358c2120836f3e13c249c06a0a62ca02bd9dd20 (patch)
treef8cdf0a17e2976245eaea161d52ae33e7931565f /OpenSim/Framework/Servers/BaseHttpServer.cs
parentFix attachment persistence which got broken with some inventory (diff)
downloadopensim-SC-6358c2120836f3e13c249c06a0a62ca02bd9dd20.zip
opensim-SC-6358c2120836f3e13c249c06a0a62ca02bd9dd20.tar.gz
opensim-SC-6358c2120836f3e13c249c06a0a62ca02bd9dd20.tar.bz2
opensim-SC-6358c2120836f3e13c249c06a0a62ca02bd9dd20.tar.xz
* Committing an opensim level error message on httpserver. This might help with the eventqueue http server death.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Servers/BaseHttpServer.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs
index aa2a06c..21c3011 100644
--- a/OpenSim/Framework/Servers/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/BaseHttpServer.cs
@@ -1362,6 +1362,7 @@ namespace OpenSim.Framework.Servers
1362 //m_httpListener.Prefixes.Add("http://+:" + m_port + "/"); 1362 //m_httpListener.Prefixes.Add("http://+:" + m_port + "/");
1363 //m_httpListener.Prefixes.Add("http://10.1.1.5:" + m_port + "/"); 1363 //m_httpListener.Prefixes.Add("http://10.1.1.5:" + m_port + "/");
1364 m_httpListener2 = new HttpServer.HttpListener(IPAddress.Any, (int)m_port); 1364 m_httpListener2 = new HttpServer.HttpListener(IPAddress.Any, (int)m_port);
1365 m_httpListener2.ExceptionThrown += httpServerException;
1365 } 1366 }
1366 else 1367 else
1367 { 1368 {
@@ -1387,6 +1388,11 @@ namespace OpenSim.Framework.Servers
1387 } 1388 }
1388 } 1389 }
1389 1390
1391 public void httpServerException(object source, Exception exception)
1392 {
1393 m_log.ErrorFormat("[HTTPSERVER]: {0} had an exception {1}", source.ToString(), exception.ToString());
1394 }
1395
1390 public void Stop() 1396 public void Stop()
1391 { 1397 {
1392 m_httpListener2.Stop(); 1398 m_httpListener2.Stop();