aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs b/OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs
index c670ad7..7677834 100644
--- a/OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs
+++ b/OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs
@@ -362,6 +362,11 @@ namespace OpenSim.Region.Environment.Modules.Scripting.HttpRequest
362 finished = true; 362 finished = true;
363 return; 363 return;
364 } 364 }
365 finally
366 {
367 if (response != null)
368 response.Close();
369 }
365 370
366 status = (int)OSHttpStatusCode.SuccessOk; 371 status = (int)OSHttpStatusCode.SuccessOk;
367 finished = true; 372 finished = true;