aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
index 3198891..77fce9e 100644
--- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
@@ -720,8 +720,11 @@ namespace OpenSim.Framework.Servers.HttpServer
720 if (DebugLevel == 5) 720 if (DebugLevel == 5)
721 { 721 {
722 const int sampleLength = 80; 722 const int sampleLength = 80;
723 char[] sampleChars = new char[sampleLength]; 723 char[] sampleChars = new char[sampleLength + 3];
724 reader.Read(sampleChars, 0, sampleLength); 724 reader.Read(sampleChars, 0, sampleLength);
725 sampleChars[80] = '.';
726 sampleChars[81] = '.';
727 sampleChars[82] = '.';
725 output = new string(sampleChars); 728 output = new string(sampleChars);
726 } 729 }
727 else 730 else
@@ -729,7 +732,7 @@ namespace OpenSim.Framework.Servers.HttpServer
729 output = reader.ReadToEnd(); 732 output = reader.ReadToEnd();
730 } 733 }
731 734
732 m_log.DebugFormat("[BASE HTTP SERVER]: {0}...", output.Replace("\n", @"\n")); 735 m_log.DebugFormat("[BASE HTTP SERVER]: {0}", output.Replace("\n", @"\n"));
733 } 736 }
734 } 737 }
735 738