diff options
Diffstat (limited to 'OpenSim/Framework/Servers/BaseHttpServer.cs')
-rw-r--r-- | OpenSim/Framework/Servers/BaseHttpServer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs index 28fb9df..3f3b1b8 100644 --- a/OpenSim/Framework/Servers/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/BaseHttpServer.cs | |||
@@ -54,7 +54,7 @@ namespace OpenSim.Framework.Servers | |||
54 | public volatile bool HTTPDRunning = false; | 54 | public volatile bool HTTPDRunning = false; |
55 | 55 | ||
56 | protected Thread m_workerThread; | 56 | protected Thread m_workerThread; |
57 | protected HttpListener m_httpListener; | 57 | // protected HttpListener m_httpListener; |
58 | protected CoolHTTPListener m_httpListener2; | 58 | protected CoolHTTPListener m_httpListener2; |
59 | protected Dictionary<string, XmlRpcMethod> m_rpcHandlers = new Dictionary<string, XmlRpcMethod>(); | 59 | protected Dictionary<string, XmlRpcMethod> m_rpcHandlers = new Dictionary<string, XmlRpcMethod>(); |
60 | protected Dictionary<string, bool> m_rpcHandlersKeepAlive = new Dictionary<string, bool>(); | 60 | protected Dictionary<string, bool> m_rpcHandlersKeepAlive = new Dictionary<string, bool>(); |
@@ -371,7 +371,7 @@ namespace OpenSim.Framework.Servers | |||
371 | } | 371 | } |
372 | 372 | ||
373 | request.InputStream.Close(); | 373 | request.InputStream.Close(); |
374 | if (!response.IsContentTypeSet) response.ContentType = requestHandler.ContentType; | 374 | response.ContentType = requestHandler.ContentType; |
375 | if (!response.SendChunked) | 375 | if (!response.SendChunked) |
376 | response.ContentLength64 = buffer.LongLength; | 376 | response.ContentLength64 = buffer.LongLength; |
377 | 377 | ||