mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Squelch "connection reset by peer" exceptions
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user