From: Richard Alimi <ralimi@us.ibm.com>

The following is a patch that causes HTTP connections made by llHTTPRequest
to be closed once the response is read.
0.6.0-stable
Dr Scofield 2008-07-30 16:21:01 +00:00
parent 2f8acdbe50
commit 96d1891c71
1 changed files with 5 additions and 0 deletions

View File

@ -362,6 +362,11 @@ namespace OpenSim.Region.Environment.Modules.Scripting.HttpRequest
finished = true; finished = true;
return; return;
} }
finally
{
if (response != null)
response.Close();
}
status = (int)OSHttpStatusCode.SuccessOk; status = (int)OSHttpStatusCode.SuccessOk;
finished = true; finished = true;