aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
diff options
context:
space:
mode:
authorMelanie2011-05-13 12:05:46 +0100
committerMelanie2011-05-13 12:05:46 +0100
commit75d4956ee58340adca06d2ad602e2cd87b2e5943 (patch)
tree8203a626b75a7926bcffe8044847724fd53dae40 /OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
parentMerge branch 'master' into careminster-presence-refactor (diff)
parentMerge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC_OLD-75d4956ee58340adca06d2ad602e2cd87b2e5943.zip
opensim-SC_OLD-75d4956ee58340adca06d2ad602e2cd87b2e5943.tar.gz
opensim-SC_OLD-75d4956ee58340adca06d2ad602e2cd87b2e5943.tar.bz2
opensim-SC_OLD-75d4956ee58340adca06d2ad602e2cd87b2e5943.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Server/Handlers/Simulation/AgentHandlers.cs')
-rw-r--r--OpenSim/Server/Handlers/Simulation/AgentHandlers.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
index 9f581ca..9935e3c 100644
--- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
+++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
@@ -306,6 +306,7 @@ namespace OpenSim.Server.Handlers.Simulation
306 StreamReader reader = new StreamReader(inputStream, encoding); 306 StreamReader reader = new StreamReader(inputStream, encoding);
307 307
308 string requestBody = reader.ReadToEnd(); 308 string requestBody = reader.ReadToEnd();
309 reader.Close();
309 keysvals.Add("body", requestBody); 310 keysvals.Add("body", requestBody);
310 311
311 httpResponse.StatusCode = 200; 312 httpResponse.StatusCode = 200;
@@ -492,6 +493,7 @@ namespace OpenSim.Server.Handlers.Simulation
492 StreamReader reader = new StreamReader(inputStream, encoding); 493 StreamReader reader = new StreamReader(inputStream, encoding);
493 494
494 string requestBody = reader.ReadToEnd(); 495 string requestBody = reader.ReadToEnd();
496 reader.Close();
495 keysvals.Add("body", requestBody); 497 keysvals.Add("body", requestBody);
496 498
497 httpResponse.StatusCode = 200; 499 httpResponse.StatusCode = 200;