aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
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();