mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
* remove some spurious debug info
* The last 4 commits are a patch from otakup0pe that's supposed to make URLs better somehow in an effort to make it easier to do hypergrid (I think).. But as it seems that I'm the only one who was able to apply the patch.. and I looked it over and it doesn't look like it breaks anything via the diffs.. I'll sign off on it. Signed-off-by: Teravus Ovares (Dan Olivares) <teravus@gmail.com>
This commit is contained in:
committed by
Teravus Ovares (Dan Olivares)
parent
58f75fa19d
commit
017b83d0a3
@@ -348,7 +348,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
{
|
||||
try
|
||||
{
|
||||
m_log.Debug("[BASE HTTP SERVER]: Handling request to " + request.RawUrl);
|
||||
//m_log.Debug("[BASE HTTP SERVER]: Handling request to " + request.RawUrl);
|
||||
|
||||
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US", true);
|
||||
|
||||
@@ -376,11 +376,11 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
string path = request.RawUrl;
|
||||
string handlerKey = GetHandlerKey(request.HttpMethod, path);
|
||||
|
||||
m_log.DebugFormat("[BASE HTTP SERVER]: Handling {0} request for {1}", request.HttpMethod, path);
|
||||
//m_log.DebugFormat("[BASE HTTP SERVER]: Handling {0} request for {1}", request.HttpMethod, path);
|
||||
|
||||
if (TryGetStreamHandler(handlerKey, out requestHandler))
|
||||
{
|
||||
m_log.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 = null;
|
||||
|
||||
@@ -395,7 +395,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
}
|
||||
else if (requestHandler is IGenericHTTPHandler)
|
||||
{
|
||||
m_log.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;
|
||||
|
||||
@@ -422,7 +422,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
|
||||
foreach (string headername in rHeaders)
|
||||
{
|
||||
m_log.Warn("[HEADER]: " + headername + "=" + request.Headers[headername]);
|
||||
//m_log.Warn("[HEADER]: " + headername + "=" + request.Headers[headername]);
|
||||
headervals[headername] = request.Headers[headername];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user