Squelch "connection reset by peer" exceptions
parent
b033a2559e
commit
39e82cb043
|
@ -94,6 +94,13 @@ 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)
|
||||
{
|
||||
m_log.Warn("[POLL SERVICE WORKER THREAD]: Error ", ex);
|
||||
|
@ -141,4 +148,4 @@ namespace OpenSim.Framework.Servers.HttpServer
|
|||
return (int)b2.contextHash;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue