* minor; Very minor non-functional tidy ups

0.6.2-post-fixes
Justin Clarke Casey 2009-01-13 18:23:37 +00:00
parent 2676927466
commit 363054bb2c
2 changed files with 6 additions and 12 deletions

View File

@ -98,10 +98,8 @@ namespace OpenSim.Framework.Servers
{
m_ssl = ssl;
m_port = port;
}
public BaseHttpServer(uint port, bool ssl, uint sslport, string CN)
{
m_ssl = ssl;
@ -265,8 +263,6 @@ namespace OpenSim.Framework.Servers
*/
HandleRequest(request,resp);
}
public virtual void HandleRequest(OSHttpRequest request, OSHttpResponse response)
@ -280,7 +276,7 @@ namespace OpenSim.Framework.Servers
// the request can be passed through to the other handlers. This is a low
// probability event; if a request is matched it is normally expected to be
// handled
//m_log.Info("[Debug BASE HTTP SERVER]: Handling Request" + request.RawUrl);
//m_log.Debug("[BASE HTTP SERVER]: Handling Request" + request.RawUrl);
IHttpAgentHandler agentHandler;
if (TryGetAgentHandler(request, response, out agentHandler))
@ -302,7 +298,7 @@ namespace OpenSim.Framework.Servers
if (TryGetStreamHandler(handlerKey, out requestHandler))
{
//m_log.Info("[Debug BASE HTTP SERVER]: Found Stream Handler");
//m_log.Debug("[BASE HTTP SERVER]: Found Stream Handler");
// Okay, so this is bad, but should be considered temporary until everything is IStreamHandler.
byte[] buffer;
if (requestHandler is IStreamedRequestHandler)
@ -313,7 +309,7 @@ namespace OpenSim.Framework.Servers
}
else if (requestHandler is IGenericHTTPHandler)
{
//m_log.Info("[Debug BASE HTTP SERVER]: Found Caps based HTTP Handler");
//m_log.Debug("[BASE HTTP SERVER]: Found Caps based HTTP Handler");
IGenericHTTPHandler HTTPRequestHandler = requestHandler as IGenericHTTPHandler;
Stream requestStream = request.InputStream;
@ -322,7 +318,6 @@ namespace OpenSim.Framework.Servers
string requestBody = reader.ReadToEnd();
reader.Close();
requestStream.Close();

View File

@ -688,7 +688,6 @@ namespace OpenSim.Region.Environment.Scenes
set { m_acceleration = value; }
}
public string Description
{
get { return m_description; }