minor cleanup

LSLKeyTest
UbitUmarov 2015-12-09 17:20:51 +00:00
parent f7a29ad8b5
commit 4ad7160e05
1 changed files with 4 additions and 17 deletions

View File

@ -90,29 +90,16 @@ namespace OpenSim.Framework.Servers.HttpServer
try
{
response.OutputStream.Write(buffer, 0, buffer.Length);
response.OutputStream.Flush();
response.Send();
buffer = null;
}
catch (Exception ex)
{
m_log.Warn("[POLL SERVICE WORKER THREAD]: Error ", ex);
}
finally
{
//response.OutputStream.Close();
try
{
response.OutputStream.Flush();
response.Send();
//if (!response.KeepAlive && response.ReuseContext)
// response.FreeContext();
}
catch (Exception e)
{
m_log.Warn("[POLL SERVICE WORKER THREAD]: Error ", e);
}
PollServiceArgs.RequestsHandled++;
}
PollServiceArgs.RequestsHandled++;
}
internal void DoHTTPstop(BaseHttpServer server)