* Committing an opensim level error message on httpserver. This might help with the eventqueue http server death.

0.6.1-post-fixes
Teravus Ovares 2008-12-18 01:52:49 +00:00
parent 6ef64593fd
commit 6358c21208
1 changed files with 6 additions and 0 deletions

View File

@ -1362,6 +1362,7 @@ namespace OpenSim.Framework.Servers
//m_httpListener.Prefixes.Add("http://+:" + m_port + "/");
//m_httpListener.Prefixes.Add("http://10.1.1.5:" + m_port + "/");
m_httpListener2 = new HttpServer.HttpListener(IPAddress.Any, (int)m_port);
m_httpListener2.ExceptionThrown += httpServerException;
}
else
{
@ -1387,6 +1388,11 @@ namespace OpenSim.Framework.Servers
}
}
public void httpServerException(object source, Exception exception)
{
m_log.ErrorFormat("[HTTPSERVER]: {0} had an exception {1}", source.ToString(), exception.ToString());
}
public void Stop()
{
m_httpListener2.Stop();