mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
* Fixed another potential httpserver leak.
This commit is contained in:
@@ -256,6 +256,25 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
}
|
||||
}
|
||||
|
||||
public bool ReuseContext
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_httpClientContext != null)
|
||||
{
|
||||
return !_httpClientContext.EndWhenDone;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (_httpClientContext != null)
|
||||
{
|
||||
_httpClientContext.EndWhenDone = !value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected IHttpResponse _httpResponse;
|
||||
private IHttpClientContext _httpClientContext;
|
||||
|
||||
Reference in New Issue
Block a user