mirror of
https://github.com/OpenSim-NGC/OpenSim-Sasquatch.git
synced 2024-11-21 14:29:10 -07:00
remove old bad code
This commit is contained in:
parent
cda1c7f1f2
commit
45372514c2
1 changed files with 0 additions and 11 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue