mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
remove old bad code
This commit is contained in:
@@ -831,17 +831,6 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
if (WebUtil.DebugLevel >= 5)
|
||||
{
|
||||
string output = System.Text.Encoding.UTF8.GetString(buffer);
|
||||
|
||||
if (WebUtil.DebugLevel >= 6)
|
||||
{
|
||||
// Always truncate binary blobs. We don't have a ContentType, so detect them using the request name.
|
||||
if (requestHandler is not null && requestHandler.Name.Equals("GetMesh"))
|
||||
{
|
||||
if (output.Length > WebUtil.MaxRequestDiagLength)
|
||||
output = string.Concat(output.AsSpan(0, WebUtil.MaxRequestDiagLength), "...");
|
||||
}
|
||||
}
|
||||
|
||||
WebUtil.LogResponseDetail(RequestNumber, output);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user