aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/BaseHttpServer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Servers/BaseHttpServer.cs')
-rw-r--r--OpenSim/Framework/Servers/BaseHttpServer.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs
index de15923..00c81c8 100644
--- a/OpenSim/Framework/Servers/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/BaseHttpServer.cs
@@ -199,6 +199,16 @@ namespace OpenSim.Framework.Servers
199 } 199 }
200 } 200 }
201 } 201 }
202 catch (System.Net.Sockets.SocketException e)
203 {
204 // At least on linux, it appears that if the client makes a request without requiring the response,
205 // an unconnected socket exception is thrown when we close the response output stream. There's no
206 // obvious way to tell if the client didn't require the response, so instead we'll catch and ignore
207 // the exception instead.
208 //
209 // An alternative may be to turn off all response write exceptions on the HttpListener, but let's go
210 // with the minimum first
211 }
202 catch (Exception e) 212 catch (Exception e)
203 { 213 {
204 m_log.ErrorFormat("[BASE HTTP SERVER]: HandleRequest() threw {0}", e); 214 m_log.ErrorFormat("[BASE HTTP SERVER]: HandleRequest() threw {0}", e);