remove old bad code

This commit is contained in:
UbitUmarov 2024-10-16 23:32:05 +01:00
parent cda1c7f1f2
commit 45372514c2

View file

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