Eliminate a spurious exception report when a https url is accessed with a wrong

CN
avinationmerge
Melanie 2012-07-15 12:28:58 +02:00
parent 07b7301c22
commit ad75a4b50b
1 changed files with 2 additions and 0 deletions

View File

@ -1809,6 +1809,8 @@ namespace OpenSim.Framework.Servers.HttpServer
public void httpServerException(object source, Exception exception)
{
if (source.ToString() == "HttpServer.HttpListener" && exception.ToString().StartsWith("Mono.Security.Protocol.Tls.TlsException"))
return;
m_log.ErrorFormat("[BASE HTTP SERVER]: {0} had an exception {1}", source.ToString(), exception.ToString());
/*
if (HTTPDRunning)// && NotSocketErrors > 5)