This commit is contained in:
Dr Scofield
2009-03-25 07:36:56 +00:00
parent 2afe3be2e6
commit 0bb3d2e6d7
6 changed files with 9 additions and 11 deletions

View File

@@ -865,7 +865,6 @@ namespace OpenSim.Framework.Communications.Cache
return true;
}
}
}
/// <summary>

View File

@@ -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;

View File

@@ -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>

View File

@@ -281,7 +281,7 @@ namespace OpenSim.Framework.Servers.Tests
{
get { return _cookies; }
}
private ResponseCookies _cookies;
private ResponseCookies _cookies = null;
public TestHttpResponse()
{