diff options
Diffstat (limited to 'OpenSim/Server/Handlers/Estate')
-rw-r--r-- | OpenSim/Server/Handlers/Estate/EstateDataRobustConnector.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Server/Handlers/Estate/EstateDataRobustConnector.cs b/OpenSim/Server/Handlers/Estate/EstateDataRobustConnector.cs index e0c2810..b7558ec 100644 --- a/OpenSim/Server/Handlers/Estate/EstateDataRobustConnector.cs +++ b/OpenSim/Server/Handlers/Estate/EstateDataRobustConnector.cs | |||
@@ -282,9 +282,10 @@ namespace OpenSim.Server.Handlers | |||
282 | // /estates/estate/?eid=int®ion=uuid | 282 | // /estates/estate/?eid=int®ion=uuid |
283 | if ("estate".Equals(resource)) | 283 | if ("estate".Equals(resource)) |
284 | { | 284 | { |
285 | StreamReader sr = new StreamReader(request); | 285 | string body; |
286 | string body = sr.ReadToEnd(); | 286 | using(StreamReader sr = new StreamReader(request)) |
287 | sr.Close(); | 287 | body = sr.ReadToEnd(); |
288 | |||
288 | body = body.Trim(); | 289 | body = body.Trim(); |
289 | 290 | ||
290 | Dictionary<string, object> requestData = ServerUtils.ParseQueryString(body); | 291 | Dictionary<string, object> requestData = ServerUtils.ParseQueryString(body); |