aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer
diff options
context:
space:
mode:
authorDiva Canto2009-09-28 06:44:57 -0700
committerDiva Canto2009-09-28 06:44:57 -0700
commit69da82b39fbb9952e29f57ff08f731b14f969f04 (patch)
tree9de31f8cec4c53fe37cbbb60ad5b4ce51a05557d /OpenSim/Framework/Servers/HttpServer
parentAdded GridService section to OpenSim.Server.ini.example (diff)
downloadopensim-SC_OLD-69da82b39fbb9952e29f57ff08f731b14f969f04.zip
opensim-SC_OLD-69da82b39fbb9952e29f57ff08f731b14f969f04.tar.gz
opensim-SC_OLD-69da82b39fbb9952e29f57ff08f731b14f969f04.tar.bz2
opensim-SC_OLD-69da82b39fbb9952e29f57ff08f731b14f969f04.tar.xz
Bug fix in SynchronousRestFormsRequester -- Write instead of WriteLine, which was causing an extra \n to be written into the buffer.
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/SynchronousRestFormsRequester.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/SynchronousRestFormsRequester.cs b/OpenSim/Framework/Servers/HttpServer/SynchronousRestFormsRequester.cs
index ebb2691..a0d4008 100644
--- a/OpenSim/Framework/Servers/HttpServer/SynchronousRestFormsRequester.cs
+++ b/OpenSim/Framework/Servers/HttpServer/SynchronousRestFormsRequester.cs
@@ -59,11 +59,11 @@ namespace OpenSim.Framework.Servers.HttpServer
59 int length = 0; 59 int length = 0;
60 using (StreamWriter writer = new StreamWriter(buffer)) 60 using (StreamWriter writer = new StreamWriter(buffer))
61 { 61 {
62 writer.WriteLine(obj); 62 writer.Write(obj);
63 writer.Flush(); 63 writer.Flush();
64 length = (int)buffer.Length;
65 } 64 }
66 65
66 length = (int)obj.Length;
67 request.ContentLength = length; 67 request.ContentLength = length;
68 68
69 Stream requestStream = request.GetRequestStream(); 69 Stream requestStream = request.GetRequestStream();