mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
cleanup
This commit is contained in:
@@ -865,7 +865,6 @@ namespace OpenSim.Framework.Communications.Cache
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace OpenSim.Framework.Servers
|
||||
public volatile bool HTTPDRunning = false;
|
||||
|
||||
protected Thread m_workerThread;
|
||||
protected HttpListener m_httpListener;
|
||||
// protected HttpListener m_httpListener;
|
||||
protected CoolHTTPListener m_httpListener2;
|
||||
protected Dictionary<string, XmlRpcMethod> m_rpcHandlers = new Dictionary<string, XmlRpcMethod>();
|
||||
protected Dictionary<string, bool> m_rpcHandlersKeepAlive = new Dictionary<string, bool>();
|
||||
@@ -371,7 +371,7 @@ namespace OpenSim.Framework.Servers
|
||||
}
|
||||
|
||||
request.InputStream.Close();
|
||||
if (!response.IsContentTypeSet) response.ContentType = requestHandler.ContentType;
|
||||
response.ContentType = requestHandler.ContentType;
|
||||
if (!response.SendChunked)
|
||||
response.ContentLength64 = buffer.LongLength;
|
||||
|
||||
|
||||
@@ -65,11 +65,11 @@ namespace OpenSim.Framework.Servers
|
||||
/// <remarks>
|
||||
/// IsContentTypeSet will go away together with .NET base.
|
||||
/// </remarks>
|
||||
public bool IsContentTypeSet
|
||||
{
|
||||
get { return _contentTypeSet; }
|
||||
}
|
||||
private bool _contentTypeSet;
|
||||
// public bool IsContentTypeSet
|
||||
// {
|
||||
// get { return _contentTypeSet; }
|
||||
// }
|
||||
// private bool _contentTypeSet;
|
||||
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -281,7 +281,7 @@ namespace OpenSim.Framework.Servers.Tests
|
||||
{
|
||||
get { return _cookies; }
|
||||
}
|
||||
private ResponseCookies _cookies;
|
||||
private ResponseCookies _cookies = null;
|
||||
|
||||
public TestHttpResponse()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user