diff options
author | UbitUmarov | 2017-05-07 04:21:33 +0100 |
---|---|---|
committer | UbitUmarov | 2017-05-07 04:21:33 +0100 |
commit | 11f6d28a0631d7bf96eed220dc58ab0824fb8f57 (patch) | |
tree | c2c08d0908e332983284299a6739c8bc0c136078 /OpenSim/Addons/Groups/Remote | |
parent | merge fix (diff) | |
parent | let StreamReader be in using statements (diff) | |
download | opensim-SC-11f6d28a0631d7bf96eed220dc58ab0824fb8f57.zip opensim-SC-11f6d28a0631d7bf96eed220dc58ab0824fb8f57.tar.gz opensim-SC-11f6d28a0631d7bf96eed220dc58ab0824fb8f57.tar.bz2 opensim-SC-11f6d28a0631d7bf96eed220dc58ab0824fb8f57.tar.xz |
fix merge
Diffstat (limited to 'OpenSim/Addons/Groups/Remote')
-rw-r--r-- | OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs b/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs index 598e7a5..8502bb5 100644 --- a/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs +++ b/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs | |||
@@ -91,9 +91,10 @@ namespace OpenSim.Groups | |||
91 | protected override byte[] ProcessRequest(string path, Stream requestData, | 91 | protected override byte[] ProcessRequest(string path, Stream requestData, |
92 | IOSHttpRequest httpRequest, IOSHttpResponse httpResponse) | 92 | IOSHttpRequest httpRequest, IOSHttpResponse httpResponse) |
93 | { | 93 | { |
94 | StreamReader sr = new StreamReader(requestData); | 94 | string body; |
95 | string body = sr.ReadToEnd(); | 95 | using(StreamReader sr = new StreamReader(requestData)) |
96 | sr.Close(); | 96 | body = sr.ReadToEnd(); |
97 | |||
97 | body = body.Trim(); | 98 | body = body.Trim(); |
98 | 99 | ||
99 | //m_log.DebugFormat("[XXX]: query String: {0}", body); | 100 | //m_log.DebugFormat("[XXX]: query String: {0}", body); |