minor: Use LogIncomingToContentTypeHandler() method for incoming HTTP data where this wasn't already used.

This allows log level 5 (log sample or large part of incoming post data) to operate and removes copy/paste.
0.7.4-extended
Justin Clark-Casey (justincc) 2012-10-23 00:39:59 +01:00
parent efc09e8022
commit e0ef2bdf81
1 changed files with 2 additions and 8 deletions

View File

@ -542,11 +542,8 @@ namespace OpenSim.Framework.Servers.HttpServer
{
case null:
case "text/html":
if (DebugLevel >= 3)
m_log.DebugFormat(
"[BASE HTTP SERVER]: HTTP IN {0} :{1} {2} content type handler {3} {4} from {5}",
RequestNumber, Port, request.ContentType, request.HttpMethod, request.Url.PathAndQuery, request.RemoteIPEndPoint);
LogIncomingToContentTypeHandler(request);
buffer = HandleHTTPRequest(request, response);
break;
@ -554,11 +551,8 @@ namespace OpenSim.Framework.Servers.HttpServer
case "application/llsd+xml":
case "application/xml+llsd":
case "application/llsd+json":
if (DebugLevel >= 3)
m_log.DebugFormat(
"[BASE HTTP SERVER]: HTTP IN {0} :{1} {2} content type handler {3} {4} from {5}",
RequestNumber, Port, request.ContentType, request.HttpMethod, request.Url.PathAndQuery, request.RemoteIPEndPoint);
LogIncomingToContentTypeHandler(request);
buffer = HandleLLSDRequests(request, response);
break;