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
parent
2f8acdbe50
commit
96d1891c71
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue