* FreeContext may be a bit too buggy for my tastes in some environments. * Commenting it for the moment.
parent
bc6ec3b564
commit
8b9f8709aa
|
@ -450,7 +450,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
response.Send();
|
response.Send();
|
||||||
response.FreeContext();
|
//response.FreeContext();
|
||||||
}
|
}
|
||||||
catch (SocketException e)
|
catch (SocketException e)
|
||||||
{
|
{
|
||||||
|
@ -912,7 +912,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
{
|
{
|
||||||
response.Send();
|
response.Send();
|
||||||
response.OutputStream.Flush();
|
response.OutputStream.Flush();
|
||||||
response.FreeContext();
|
//response.FreeContext();
|
||||||
//response.OutputStream.Close();
|
//response.OutputStream.Close();
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
|
@ -1169,7 +1169,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
response.Send();
|
response.Send();
|
||||||
response.FreeContext();
|
//response.FreeContext();
|
||||||
}
|
}
|
||||||
catch (SocketException f)
|
catch (SocketException f)
|
||||||
{
|
{
|
||||||
|
@ -1452,8 +1452,8 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
response.OutputStream.Flush();
|
response.OutputStream.Flush();
|
||||||
response.Send();
|
response.Send();
|
||||||
|
|
||||||
if (!response.KeepAlive && response.ReuseContext)
|
//if (!response.KeepAlive && response.ReuseContext)
|
||||||
response.FreeContext();
|
// response.FreeContext();
|
||||||
}
|
}
|
||||||
catch (SocketException e)
|
catch (SocketException e)
|
||||||
{
|
{
|
||||||
|
@ -1494,7 +1494,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
response.Send();
|
response.Send();
|
||||||
response.FreeContext();
|
//response.FreeContext();
|
||||||
}
|
}
|
||||||
catch (SocketException e)
|
catch (SocketException e)
|
||||||
{
|
{
|
||||||
|
@ -1530,7 +1530,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
response.Send();
|
response.Send();
|
||||||
response.FreeContext();
|
//response.FreeContext();
|
||||||
}
|
}
|
||||||
catch (SocketException e)
|
catch (SocketException e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue