aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
diff options
context:
space:
mode:
authorTeravus Ovares (Dan Olivares)2009-08-08 14:14:52 -0400
committerTeravus Ovares (Dan Olivares)2009-08-08 14:14:52 -0400
commit8b9f8709aa1989d44f5e4039d31e8beabf83051c (patch)
tree3d6626804a966947bb8fded82c58ca58a6ee9576 /OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
parentFormatting cleanup. (diff)
downloadopensim-SC_OLD-8b9f8709aa1989d44f5e4039d31e8beabf83051c.zip
opensim-SC_OLD-8b9f8709aa1989d44f5e4039d31e8beabf83051c.tar.gz
opensim-SC_OLD-8b9f8709aa1989d44f5e4039d31e8beabf83051c.tar.bz2
opensim-SC_OLD-8b9f8709aa1989d44f5e4039d31e8beabf83051c.tar.xz
* FreeContext may be a bit too buggy for my tastes in some environments. * Commenting it for the moment.
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
index 878e2fd..c74eab1 100644
--- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
@@ -450,7 +450,7 @@ namespace OpenSim.Framework.Servers.HttpServer
450 try 450 try
451 { 451 {
452 response.Send(); 452 response.Send();
453 response.FreeContext(); 453 //response.FreeContext();
454 } 454 }
455 catch (SocketException e) 455 catch (SocketException e)
456 { 456 {
@@ -912,7 +912,7 @@ namespace OpenSim.Framework.Servers.HttpServer
912 { 912 {
913 response.Send(); 913 response.Send();
914 response.OutputStream.Flush(); 914 response.OutputStream.Flush();
915 response.FreeContext(); 915 //response.FreeContext();
916 //response.OutputStream.Close(); 916 //response.OutputStream.Close();
917 } 917 }
918 catch (IOException e) 918 catch (IOException e)
@@ -1169,7 +1169,7 @@ namespace OpenSim.Framework.Servers.HttpServer
1169 try 1169 try
1170 { 1170 {
1171 response.Send(); 1171 response.Send();
1172 response.FreeContext(); 1172 //response.FreeContext();
1173 } 1173 }
1174 catch (SocketException f) 1174 catch (SocketException f)
1175 { 1175 {
@@ -1452,8 +1452,8 @@ namespace OpenSim.Framework.Servers.HttpServer
1452 response.OutputStream.Flush(); 1452 response.OutputStream.Flush();
1453 response.Send(); 1453 response.Send();
1454 1454
1455 if (!response.KeepAlive && response.ReuseContext) 1455 //if (!response.KeepAlive && response.ReuseContext)
1456 response.FreeContext(); 1456 // response.FreeContext();
1457 } 1457 }
1458 catch (SocketException e) 1458 catch (SocketException e)
1459 { 1459 {
@@ -1494,7 +1494,7 @@ namespace OpenSim.Framework.Servers.HttpServer
1494 try 1494 try
1495 { 1495 {
1496 response.Send(); 1496 response.Send();
1497 response.FreeContext(); 1497 //response.FreeContext();
1498 } 1498 }
1499 catch (SocketException e) 1499 catch (SocketException e)
1500 { 1500 {
@@ -1530,7 +1530,7 @@ namespace OpenSim.Framework.Servers.HttpServer
1530 try 1530 try
1531 { 1531 {
1532 response.Send(); 1532 response.Send();
1533 response.FreeContext(); 1533 //response.FreeContext();
1534 } 1534 }
1535 catch (SocketException e) 1535 catch (SocketException e)
1536 { 1536 {