* Fixed another potential httpserver leak.

This commit is contained in:
Teravus Ovares
2009-07-30 18:16:00 +00:00
parent 22a533b675
commit 23a8895d29
6 changed files with 30 additions and 3 deletions

View File

@@ -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;