* FreeContext may be a bit too buggy for my tastes in some environments. * Commenting it for the moment.

arthursv
Teravus Ovares (Dan Olivares) 2009-08-08 14:14:52 -04:00
parent bc6ec3b564
commit 8b9f8709aa
1 changed files with 7 additions and 7 deletions

View File

@ -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)
{ {