mirror of
https://github.com/opensim/opensim.git
synced 2026-05-25 03:05:41 +08:00
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.
This commit is contained in:
@@ -362,6 +362,11 @@ namespace OpenSim.Region.Environment.Modules.Scripting.HttpRequest
|
||||
finished = true;
|
||||
return;
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (response != null)
|
||||
response.Close();
|
||||
}
|
||||
|
||||
status = (int)OSHttpStatusCode.SuccessOk;
|
||||
finished = true;
|
||||
|
||||
Reference in New Issue
Block a user