diff options
Diffstat (limited to 'OpenSim/Addons/Groups/Hypergrid/HGGroupsServiceRobustConnector.cs')
-rw-r--r-- | OpenSim/Addons/Groups/Hypergrid/HGGroupsServiceRobustConnector.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Addons/Groups/Hypergrid/HGGroupsServiceRobustConnector.cs b/OpenSim/Addons/Groups/Hypergrid/HGGroupsServiceRobustConnector.cs index af00770..51f3ec1 100644 --- a/OpenSim/Addons/Groups/Hypergrid/HGGroupsServiceRobustConnector.cs +++ b/OpenSim/Addons/Groups/Hypergrid/HGGroupsServiceRobustConnector.cs | |||
@@ -115,9 +115,10 @@ namespace OpenSim.Groups | |||
115 | protected override byte[] ProcessRequest(string path, Stream requestData, | 115 | protected override byte[] ProcessRequest(string path, Stream requestData, |
116 | IOSHttpRequest httpRequest, IOSHttpResponse httpResponse) | 116 | IOSHttpRequest httpRequest, IOSHttpResponse httpResponse) |
117 | { | 117 | { |
118 | StreamReader sr = new StreamReader(requestData); | 118 | string body; |
119 | string body = sr.ReadToEnd(); | 119 | using(StreamReader sr = new StreamReader(requestData)) |
120 | sr.Close(); | 120 | body = sr.ReadToEnd(); |
121 | |||
121 | body = body.Trim(); | 122 | body = body.Trim(); |
122 | 123 | ||
123 | //m_log.DebugFormat("[XXX]: query String: {0}", body); | 124 | //m_log.DebugFormat("[XXX]: query String: {0}", body); |