* Committing an opensim level error message on httpserver. This might help with the eventqueue http server death.
parent
6ef64593fd
commit
6358c21208
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue