aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs5
-rw-r--r--OpenSim/Framework/Servers/HttpServer/OSHttpResponse.cs4
2 files changed, 2 insertions, 7 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
index cd14212..20bdf17 100644
--- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
@@ -461,7 +461,7 @@ namespace OpenSim.Framework.Servers.HttpServer
461 } 461 }
462 462
463 OSHttpResponse resp = new OSHttpResponse(new HttpResponse(context, request),context); 463 OSHttpResponse resp = new OSHttpResponse(new HttpResponse(context, request),context);
464 resp.ReuseContext = false; 464 resp.ReuseContext = true;
465 HandleRequest(req, resp); 465 HandleRequest(req, resp);
466 466
467 // !!!HACK ALERT!!! 467 // !!!HACK ALERT!!!
@@ -1270,8 +1270,7 @@ namespace OpenSim.Framework.Servers.HttpServer
1270 requestStream.Close(); 1270 requestStream.Close();
1271 1271
1272 //m_log.DebugFormat("[OGP]: {0}:{1}", request.RawUrl, requestBody); 1272 //m_log.DebugFormat("[OGP]: {0}:{1}", request.RawUrl, requestBody);
1273 // response.KeepAlive = true; 1273 response.KeepAlive = true;
1274 response.KeepAlive = false;
1275 1274
1276 OSD llsdRequest = null; 1275 OSD llsdRequest = null;
1277 OSD llsdResponse = null; 1276 OSD llsdResponse = null;
diff --git a/OpenSim/Framework/Servers/HttpServer/OSHttpResponse.cs b/OpenSim/Framework/Servers/HttpServer/OSHttpResponse.cs
index 17e9dc2..ccf9c91 100644
--- a/OpenSim/Framework/Servers/HttpServer/OSHttpResponse.cs
+++ b/OpenSim/Framework/Servers/HttpServer/OSHttpResponse.cs
@@ -322,10 +322,6 @@ namespace OpenSim.Framework.Servers.HttpServer
322 { 322 {
323 _httpResponse.Body.Flush(); 323 _httpResponse.Body.Flush();
324 324
325 // disable this till they are safe to use
326 _httpResponse.Connection = ConnectionType.Close;
327 _httpResponse.Chunked = false;
328
329 _httpResponse.Send(); 325 _httpResponse.Send();
330 } 326 }
331 327