diff options
author | Melanie | 2011-05-13 12:03:16 +0100 |
---|---|---|
committer | Melanie | 2011-05-13 12:03:16 +0100 |
commit | 59d8588ae130065b80028d2168c3e2ea9d70c7cc (patch) | |
tree | e42a384c566bf44a4e9b8712fc4a0e76f3e992fc /OpenSim/Server | |
parent | Fix the cert validation handler so that it will not block other parts of (diff) | |
parent | Hopefully this fixes offline messages. The problem was: the server is not set... (diff) | |
download | opensim-SC-59d8588ae130065b80028d2168c3e2ea9d70c7cc.zip opensim-SC-59d8588ae130065b80028d2168c3e2ea9d70c7cc.tar.gz opensim-SC-59d8588ae130065b80028d2168c3e2ea9d70c7cc.tar.bz2 opensim-SC-59d8588ae130065b80028d2168c3e2ea9d70c7cc.tar.xz |
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs index 379924f..e8ae05b 100644 --- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs +++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | |||
@@ -283,6 +283,7 @@ namespace OpenSim.Server.Handlers.Simulation | |||
283 | StreamReader reader = new StreamReader(inputStream, encoding); | 283 | StreamReader reader = new StreamReader(inputStream, encoding); |
284 | 284 | ||
285 | string requestBody = reader.ReadToEnd(); | 285 | string requestBody = reader.ReadToEnd(); |
286 | reader.Close(); | ||
286 | keysvals.Add("body", requestBody); | 287 | keysvals.Add("body", requestBody); |
287 | 288 | ||
288 | httpResponse.StatusCode = 200; | 289 | httpResponse.StatusCode = 200; |
@@ -469,6 +470,7 @@ namespace OpenSim.Server.Handlers.Simulation | |||
469 | StreamReader reader = new StreamReader(inputStream, encoding); | 470 | StreamReader reader = new StreamReader(inputStream, encoding); |
470 | 471 | ||
471 | string requestBody = reader.ReadToEnd(); | 472 | string requestBody = reader.ReadToEnd(); |
473 | reader.Close(); | ||
472 | keysvals.Add("body", requestBody); | 474 | keysvals.Add("body", requestBody); |
473 | 475 | ||
474 | httpResponse.StatusCode = 200; | 476 | httpResponse.StatusCode = 200; |