pesty warning
parent
ca404e5001
commit
4652f8b84f
|
@ -99,15 +99,15 @@ namespace OpenSim.Framework.Servers.HttpServer
|
|||
response.Send();
|
||||
buffer = null;
|
||||
}
|
||||
catch (System.Net.Sockets.SocketException ex)
|
||||
{
|
||||
// This is "connection reset by peer", meaning the
|
||||
// requesting server has given up. They need to
|
||||
// fix their timeouts. We don't want to spam the
|
||||
// log with this.
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
if(ex is System.Net.Sockets.SocketException)
|
||||
{
|
||||
// only mute connection reset by peer so we are not totally blind for now
|
||||
if(((System.Net.Sockets.SocketException)ex).SocketErrorCode != System.Net.Sockets.SocketError.ConnectionReset)
|
||||
m_log.Warn("[POLL SERVICE WORKER THREAD]: Error ", ex);
|
||||
}
|
||||
else
|
||||
m_log.Warn("[POLL SERVICE WORKER THREAD]: Error ", ex);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue